diff --git a/tox.ini b/tox.ini index cbe52750ae..45a51146bc 100644 --- a/tox.ini +++ b/tox.ini @@ -371,7 +371,7 @@ commands = ; use old pytest for old Python versions: {py2.7,py3.4,py3.5}: pip install pytest-forked==1.1.3 - py.test --durations=5 {env:TESTPATH} {posargs} + python -m pytest --durations=5 {env:TESTPATH} {posargs} [testenv:linters] commands =