summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_regression.py
diff options
context:
space:
mode:
authorJoseph Martinot-Lagarde <contrebasse@gmail.com>2013-10-10 20:37:35 +0200
committerJoseph Martinot-Lagarde <contrebasse@gmail.com>2013-10-10 20:37:35 +0200
commitc3d111cc84c04b1b70c719138cc46d3ad531bfed (patch)
tree870c15acddc7c30fbf15732bda013bc2ff33e643 /numpy/lib/tests/test_regression.py
parentba3697d88ef5cbc7769b21e14dd4018afc925e50 (diff)
downloadnumpy-c3d111cc84c04b1b70c719138cc46d3ad531bfed.tar.gz
TST: Raise AssertionError on failure
Diffstat (limited to 'numpy/lib/tests/test_regression.py')
-rw-r--r--numpy/lib/tests/test_regression.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/lib/tests/test_regression.py b/numpy/lib/tests/test_regression.py
index d304a47c4..eb991eeb0 100644
--- a/numpy/lib/tests/test_regression.py
+++ b/numpy/lib/tests/test_regression.py
@@ -251,6 +251,8 @@ class TestRegression(TestCase):
out = open(os.devnull, 'w')
try:
np.info(C(), output=out)
+ except AttributeError:
+ raise AssertionError()
finally:
out.close()