File tree 3 files changed +7
-3
lines changed 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ install:
94
94
- echo %PYTHON_VERSION% %TARGET_ARCH%
95
95
- if %PYTHON_VERSION% == 2.7 conda install -q backports.functools_lru_cache
96
96
# pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124
97
- - pip install -q pytest "pytest-cov>=2.3.1" pytest-rerunfailures pytest-timeout pytest-warnings pytest- xdist
97
+ - pip install -q pytest "pytest-cov>=2.3.1" pytest-rerunfailures pytest-timeout pytest-xdist
98
98
99
99
# Let the install prefer the static builds of the libs
100
100
- set LIBRARY_LIB=%CONDA_PREFIX%\Library\lib
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ install:
121
121
fi
122
122
123
123
# pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124
124
- pip install $PRE pytest 'pytest-cov>=2.3.1' pytest-faulthandler pytest-rerunfailures pytest-timeout pytest-warnings pytest- xdist $INSTALL_PEP8
124
+ pip install $PRE pytest 'pytest-cov>=2.3.1' pytest-faulthandler pytest-rerunfailures pytest-timeout pytest-xdist $INSTALL_PEP8
125
125
126
126
# We manually install humor sans using the package from Ubuntu 14.10. Unfortunatly humor sans is not
127
127
# availible in the Ubuntu version used by Travis but we can manually install the deb from a later
Original file line number Diff line number Diff line change @@ -223,7 +223,11 @@ def _xfail_if_format_is_uncomparable(extension):
223
223
224
224
225
225
def _mark_xfail_if_format_is_uncomparable (extension ):
226
- will_fail = extension not in comparable_formats ()
226
+ if isinstance (extension , six .string_types ):
227
+ will_fail = extension not in comparable_formats ()
228
+ else :
229
+ # Extension might be a pytest marker instead of a plain string.
230
+ will_fail = extension .args [0 ] not in comparable_formats ()
227
231
if will_fail :
228
232
fail_msg = 'Cannot compare %s files on this system' % extension
229
233
import pytest
You can’t perform that action at this time.
0 commit comments