summaryrefslogtreecommitdiff
path: root/numpy/tests/test_scripts.py
diff options
context:
space:
mode:
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)