Files
parso/tox.ini
Dave Halter 73439d5863 Don't use a newer pytest version
Otherwise python 3.3 and 2.6 are not working anymore
2017-12-30 18:07:58 +01:00

21 lines
455 B
INI

[tox]
envlist = py26, py27, py33, py34, py35, py36
[testenv]
deps =
pytest>=3.0.7, < 3.3
# For --lf and --ff.
pytest-cache
setenv =
# https://github.com/tomchristie/django-rest-framework/issues/1957
# tox corrupts __pycache__, solution from here:
PYTHONDONTWRITEBYTECODE=1
commands =
pytest {posargs:parso test}
[testenv:cov]
deps =
coverage
{[testenv]deps}
commands =
coverage run --source parso -m pytest
coverage report