diff --git a/tox.ini b/tox.ini index 1302c4963..50130ca0e 100644 --- a/tox.ini +++ b/tox.ini @@ -19,8 +19,8 @@ commands = # We use parallel mode and then combine later so that coverage.py will take # paths like .tox/py36/lib/python3.6/site-packages/fontTools and collapse # them into Lib/fontTools. - cov: coverage run --parallel-mode -m pytest {posargs:--pyargs fontTools} - nocov: pytest {posargs:--pyargs fontTools} + cov: coverage run --parallel-mode -m pytest {posargs} + nocov: pytest {posargs} [testenv:htmlcov] basepython = {env:TOXPYTHON:python3.5} @@ -29,7 +29,7 @@ deps = skip_install = true commands = coverage combine - coverage html + coverage html {posargs} [testenv:codecov] passenv = *