summaryrefslogtreecommitdiff
path: root/numpy/tests/test_scripts.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2016-01-02 08:34:22 -0700
committerCharles Harris <charlesr.harris@gmail.com>2016-01-02 08:34:22 -0700
commit22c84f5ea585645b458b1ed0ca31d739cf3085c6 (patch)
tree3794cb9b5e3a43172cda8e8ca80f30803d6896de /numpy/tests/test_scripts.py
parentb7341ae60fcde55d6bafea7fc7d7a49109caa7c8 (diff)
parent6a871df50947c4ebda79a966fba09b5336e1e061 (diff)
downloadnumpy-22c84f5ea585645b458b1ed0ca31d739cf3085c6.tar.gz
Merge pull request #6916 from charris/fix-test_f2py
BUG: Fix test_f2py so it runs correctly in runtests.py.
Diffstat (limited to 'numpy/tests/test_scripts.py')
-rw-r--r--numpy/tests/test_scripts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/tests/test_scripts.py b/numpy/tests/test_scripts.py
index 74efd2650..434f17a4a 100644
--- a/numpy/tests/test_scripts.py
+++ b/numpy/tests/test_scripts.py
@@ -77,6 +77,6 @@ def test_f2py():
assert_equal(stdout.strip(), asbytes('2'))
success = True
break
- except OSError:
+ except:
pass
assert_(success, "Warning: neither %s nor %s found in path" % f2py_cmds)