summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index de1fb38..9f72ab8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -5,8 +5,10 @@ envlist = py{26,27,33,34,35,36,py}
passenv = LANG
commands = {env:TEST_RUNNER:pytest} {posargs}
deps =
- pytest
+ {env:_CLICK_TEST_PYTEST_DEP:pytest}
colorama: colorama
coverage: coverage
setenv =
coverage: TEST_RUNNER=coverage run -m pytest
+ # pytest 3.3+ does not support Python 2.6 and 3.3 anymore.
+ py26,py33: _CLICK_TEST_PYTEST_DEP=pytest<3.3