From 4906f43c861eb4055600fae42b94093cd2aefa65 Mon Sep 17 00:00:00 2001 From: Tony Xiao Date: Mon, 12 Dec 2022 15:59:46 -0500 Subject: [PATCH] run pytest as module --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 =