summaryrefslogtreecommitdiff
path: root/numpy/testing/utils.py
diff options
context:
space:
mode:
authordhuard <dhuard@localhost>2008-06-05 17:40:15 +0000
committerdhuard <dhuard@localhost>2008-06-05 17:40:15 +0000
commit222043bf4008d08cb084e984fd413c29ea797291 (patch)
tree033db161dfabf8a122ac61817598592fbc9373e1 /numpy/testing/utils.py
parentce51b9149fe688e82bba606b49b7b7a7f0c7f3f3 (diff)
downloadnumpy-222043bf4008d08cb084e984fd413c29ea797291.tar.gz
added verbose argument to assert_array_equal in assert_equal. Fixes ticket #810.
Diffstat (limited to 'numpy/testing/utils.py')
-rw-r--r--numpy/testing/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/testing/utils.py b/numpy/testing/utils.py
index 64cc30478..680b4f168 100644
--- a/numpy/testing/utils.py
+++ b/numpy/testing/utils.py
@@ -140,7 +140,7 @@ def assert_equal(actual,desired,err_msg='',verbose=True):
return
from numpy.core import ndarray
if isinstance(actual, ndarray) or isinstance(desired, ndarray):
- return assert_array_equal(actual, desired, err_msg)
+ return assert_array_equal(actual, desired, err_msg, verbose)
msg = build_err_msg([actual, desired], err_msg, verbose=verbose)
assert desired == actual, msg