Skip to content

Commit

Permalink
fixed test runner script for AppVeyor (try 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wenzel Jakob committed Oct 18, 2015
1 parent 9cc4ec9 commit 25afc56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/run_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def sanitize(lines):
output_bytes = subprocess.check_output([sys.executable, name + ".py"],
stderr=subprocess.STDOUT)
except subprocess.CalledProcessError as e:
if 'import numpy' in e.output:
if 'numpy' in e.output:
print('Test "%s" could not be run (NumPy is not installed).' % name)
exit(0)
raise
Expand Down

0 comments on commit 25afc56

Please sign in to comment.