Skip to content

Commit 6c57ffd

Browse files
committed
Don't install pytest 4.6.0 on Travis
It seems to be causing test failures, see pytest-dev/pytest#5358
1 parent 4b50ce6 commit 6c57ffd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ install:
6666
- activate test-environment
6767
- echo %PYTHON_VERSION% %TARGET_ARCH%
6868
# pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124
69-
- pip install -q "pytest>=3.4" "pytest-cov>=2.3.1" pytest-rerunfailures pytest-timeout pytest-xdist
69+
- pip install -q "pytest>=3.4,<4.6" "pytest-cov>=2.3.1" pytest-rerunfailures pytest-timeout pytest-xdist
7070

7171
# Apply patch to `subprocess` on Python versions > 2 and < 3.6.3
7272
# https://github.com/matplotlib/matplotlib/issues/9176

requirements/testing/travis_all.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ cycler
55
numpy
66
pillow
77
pyparsing
8-
pytest
8+
pytest>=4.5.0,<4.6.0
99
pytest-cov
1010
pytest-faulthandler
1111
pytest-rerunfailures

0 commit comments

Comments
 (0)