summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDaniel Hahler <github@thequod.de>2018-01-04 11:40:24 +0100
committerArmin Ronacher <armin.ronacher@active-4.com>2018-01-04 11:40:24 +0100
commit9d0874816060b594c8a25b0aadf1484d2c7cf660 (patch)
treeacf5cf8c02c30ec57ac123038ece40e6466c36e3 /tox.ini
parent7404b066ec59cd21d6af0d7106c56988e0e2029c (diff)
downloadclick-9d0874816060b594c8a25b0aadf1484d2c7cf660.tar.gz
Fix tox/Travis: use older pytest for py26/py33 (#909)
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