summaryrefslogtreecommitdiff
path: root/numpy/testing/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/testing/utils.py')
-rw-r--r--numpy/testing/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/testing/utils.py b/numpy/testing/utils.py
index b18cef6e3..9928bbb90 100644
--- a/numpy/testing/utils.py
+++ b/numpy/testing/utils.py
@@ -423,6 +423,7 @@ def assert_array_compare(comparison, x, y, err_msg='', verbose=True,
'%s mismatch)' % (xnanid, ynanid),
verbose=verbose, header=header,
names=('x', 'y'))
+ raise AssertionError(msg)
val = comparison(x[~xnanid], y[~ynanid])
else:
val = comparison(x,y)