tox.ini: prefer pytest without a dot

This commit is contained in:
Daniel Hahler
2017-10-27 23:16:27 +02:00
committed by Dave Halter
parent 5b5d855fab
commit 50445f424e

View File

@@ -10,11 +10,11 @@ setenv =
# tox corrupts __pycache__, solution from here:
PYTHONDONTWRITEBYTECODE=1
commands =
py.test {posargs:parso test}
pytest {posargs:parso test}
[testenv:cov]
deps =
coverage
{[testenv]deps}
commands =
coverage run --source parso -m py.test
coverage run --source parso -m pytest
coverage report