diff options
author | Joseph Martinot-Lagarde <contrebasse@gmail.com> | 2013-10-10 20:37:35 +0200 |
---|---|---|
committer | Joseph Martinot-Lagarde <contrebasse@gmail.com> | 2013-10-10 20:37:35 +0200 |
commit | c3d111cc84c04b1b70c719138cc46d3ad531bfed (patch) | |
tree | 870c15acddc7c30fbf15732bda013bc2ff33e643 /numpy/lib/tests/test_regression.py | |
parent | ba3697d88ef5cbc7769b21e14dd4018afc925e50 (diff) | |
download | numpy-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.py | 2 |
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() |