mirror of
https://github.com/davidhalter/parso.git
synced 2026-01-04 10:34:27 +08:00
tox: use older pytest only for py26/py33
Follow-up to https://github.com/davidhalter/parso/commit/73439d5863daea.
This commit is contained in:
committed by
Dave Halter
parent
fc44af6165
commit
47e78b37fe
3
tox.ini
3
tox.ini
@@ -2,13 +2,14 @@
|
||||
envlist = py26, py27, py33, py34, py35, py36
|
||||
[testenv]
|
||||
deps =
|
||||
pytest>=3.0.7, < 3.3
|
||||
{env:_PARSO_TEST_PYTEST_DEP:pytest>=3.0.7}
|
||||
# For --lf and --ff.
|
||||
pytest-cache
|
||||
setenv =
|
||||
# https://github.com/tomchristie/django-rest-framework/issues/1957
|
||||
# tox corrupts __pycache__, solution from here:
|
||||
PYTHONDONTWRITEBYTECODE=1
|
||||
py26,py33: _PARSO_TEST_PYTEST_DEP=pytest>=3.0.7,<3.3
|
||||
commands =
|
||||
pytest {posargs:parso test}
|
||||
[testenv:cov]
|
||||
|
||||
Reference in New Issue
Block a user