Skip to content

Commit

Permalink
Merge pull request #613 from pv/conda-fix
Browse files Browse the repository at this point in the history
TST: fix conda_channel test failure
  • Loading branch information
pv authored Feb 4, 2018
2 parents 6e88ad2 + 0d1c60c commit 55b6dc3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ install:
- $TRAVIS_PYTHON setup.py build_ext -i

script:
- $TRAVIS_PYTHON -m pytest --timeout=360 -l $COVERAGE test
- $TRAVIS_PYTHON -m pytest --timeout=360 -l $COVERAGE test -vv

after_script:
- if [[ "$COVERAGE" != '' ]]; then
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ install:
build: false

test_script:
- "python -m pytest --timeout=360 -l --basetemp=%APPVEYOR_BUILD_FOLDER%\\tmp test"
- "python -m pytest --timeout=360 -l --basetemp=%APPVEYOR_BUILD_FOLDER%\\tmp test -vv"

after_build:
# Clear up pip cache
Expand Down
4 changes: 2 additions & 2 deletions test/test_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,8 +509,8 @@ def test_conda_channel_addition(tmpdir,
'--json']))
json_package_list = json.loads(out_str)
for installed_package in json_package_list:
# ignore default-only package
if installed_package['name'] == 'vs2008_runtime':
# check only explicitly installed packages
if installed_package['name'] not in ('python', 'pip', 'wheel'):
continue
assert installed_package['channel'] == expected_channel

Expand Down

0 comments on commit 55b6dc3

Please sign in to comment.