diff --git a/tox.ini b/tox.ini index a5dec3fdc..4be692fc7 100644 --- a/tox.ini +++ b/tox.ini @@ -118,11 +118,13 @@ commands= basepython = python usedevelop=True skipsdist=True +# ensure the given pyargs cant mean anytrhing else +changedir=doc/ deps= PyYAML commands= - pytest -rfsxX doc/en - pytest --doctest-modules {toxinidir}/_pytest + pytest -rfsxX en + pytest --doctest-modules --pyargs _pytest [testenv:regen] changedir=doc/en