summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini6
1 files changed, 1 insertions, 5 deletions
diff --git a/tox.ini b/tox.ini
index 21fdd866..8940a182 100644
--- a/tox.ini
+++ b/tox.ini
@@ -12,11 +12,7 @@ deps =
# TODO: remove after Sphinx>4.1.2 is available.
sphinx@git+https://github.com/sphinx-doc/sphinx; python_version>="3.10"
commands =
- # We invoke pytest like this to avoid the warning:
- # UserWarning: Distutils was imported before Setuptools,
- # but importing Setuptools also replaces the `distutils`
- # module in `sys.modules`.
- pytest -c 'import setuptools; import pytest; pytest.main("{posargs}".split())'
+ pytest {posargs}
usedevelop = True
extras = testing
passenv =