Skip to content

Commit d95e26a

Browse files
committed
Make sure conda doesn't include pytest-arraydiff
1 parent 8e1563f commit d95e26a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,13 @@ env:
1313

1414
install:
1515
- git clone git://github.com/astropy/ci-helpers.git
16-
- source ci-helpers/travis/setup_conda_$TRAVIS_OS_NAME.sh
16+
- source ci-helpers/travis/setup_conda.sh
17+
18+
# Make sure pytest-arraydiff wasn't installed by conda
19+
- conda remove pytest-arraydiff --force || true
1720

1821
# Need to use develop instead of install to make sure coverage works
19-
- python setup.py develop
22+
- pip install -e .
2023

2124
script:
2225
- python -c 'import pytest_arraydiff.plugin'

pytest_arraydiff/plugin.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ def pytest_runtest_setup(self, item):
217217
compare = item.get_marker('array_compare')
218218
else:
219219
compare = item.get_closest_marker('array_compare')
220-
221220

222221
if compare is None:
223222
return

0 commit comments

Comments
 (0)