diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-11-12 02:20:43 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-12 02:20:43 +0900 |
commit | 64fb1e56242d93ee0e8c317ab9e7643242b99658 (patch) | |
tree | 8c33510feba5bf09b28568e4cd917b37f27f9ad6 | |
parent | 386929ec0f07ba1a773bdf29f609ee7c51d054ef (diff) | |
parent | 22a4ed531c1c22416e92409408b78933cb01cf00 (diff) | |
download | sphinx-git-64fb1e56242d93ee0e8c317ab9e7643242b99658.tar.gz |
Merge pull request #8411 from francoisfreitag/devmode
Run tests with Python Development mode
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | tox.ini | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -66,11 +66,11 @@ doclinter: .PHONY: test test: - @$(PYTHON) -m pytest -v $(TEST) + @$(PYTHON) -X dev -m pytest -v $(TEST) .PHONY: covertest covertest: - @$(PYTHON) -m pytest -v --cov=sphinx --junitxml=.junit.xml $(TEST) + @$(PYTHON) -X dev -m pytest -v --cov=sphinx --junitxml=.junit.xml $(TEST) .PHONY: build build: @@ -28,7 +28,7 @@ setenv = PYTHONWARNINGS = all,ignore::ImportWarning:importlib._bootstrap_external,ignore::DeprecationWarning:site,ignore::DeprecationWarning:distutils PYTEST_ADDOPTS = {env:PYTEST_ADDOPTS:} --color yes commands= - pytest --durations 25 {posargs} + python -X dev -m pytest --durations 25 {posargs} [testenv:flake8] basepython = python3 |