From d97e83e34d712330cf82427222cd141159e1f7f2 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Wed, 10 Nov 2021 14:45:56 -0500 Subject: Get pytest-virtualenv from the pull request with distutils dependency removed. --- tox.ini | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'tox.ini') 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 = -- cgit v1.2.1