[Numpy-svn] r5254 - trunk/numpy/testing

numpy-svn@scip... numpy-svn@scip...
Thu Jun 5 12:40:18 CDT 2008


Author: dhuard
Date: 2008-06-05 12:40:15 -0500 (Thu, 05 Jun 2008)
New Revision: 5254

Modified:
   trunk/numpy/testing/utils.py
Log:
added verbose argument to assert_array_equal in assert_equal. Fixes ticket #810.

Modified: trunk/numpy/testing/utils.py
===================================================================
--- trunk/numpy/testing/utils.py	2008-06-04 15:54:28 UTC (rev 5253)
+++ trunk/numpy/testing/utils.py	2008-06-05 17:40:15 UTC (rev 5254)
@@ -140,7 +140,7 @@
         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
 



More information about the Numpy-svn mailing list