mirror of
https://github.com/davidhalter/parso.git
synced 2026-05-16 13:35:18 +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
@@ -2,13 +2,14 @@
|
|||||||
envlist = py26, py27, py33, py34, py35, py36
|
envlist = py26, py27, py33, py34, py35, py36
|
||||||
[testenv]
|
[testenv]
|
||||||
deps =
|
deps =
|
||||||
pytest>=3.0.7, < 3.3
|
{env:_PARSO_TEST_PYTEST_DEP:pytest>=3.0.7}
|
||||||
# For --lf and --ff.
|
# For --lf and --ff.
|
||||||
pytest-cache
|
pytest-cache
|
||||||
setenv =
|
setenv =
|
||||||
# https://github.com/tomchristie/django-rest-framework/issues/1957
|
# https://github.com/tomchristie/django-rest-framework/issues/1957
|
||||||
# tox corrupts __pycache__, solution from here:
|
# tox corrupts __pycache__, solution from here:
|
||||||
PYTHONDONTWRITEBYTECODE=1
|
PYTHONDONTWRITEBYTECODE=1
|
||||||
|
py26,py33: _PARSO_TEST_PYTEST_DEP=pytest>=3.0.7,<3.3
|
||||||
commands =
|
commands =
|
||||||
pytest {posargs:parso test}
|
pytest {posargs:parso test}
|
||||||
[testenv:cov]
|
[testenv:cov]
|
||||||
|
|||||||
Reference in New Issue
Block a user