[Numpy-svn] r8253 - trunk/numpy/core/tests
numpy-svn at scipy.org
numpy-svn at scipy.org
Mon Feb 22 14:36:24 EST 2010
Author: mdroe
Date: 2010-02-22 13:36:24 -0600 (Mon, 22 Feb 2010)
New Revision: 8253
Modified:
trunk/numpy/core/tests/test_regression.py
Log:
Add regression test for ticket #1405
Modified: trunk/numpy/core/tests/test_regression.py
===================================================================
--- trunk/numpy/core/tests/test_regression.py 2010-02-22 15:28:38 UTC (rev 8252)
+++ trunk/numpy/core/tests/test_regression.py 2010-02-22 19:36:24 UTC (rev 8253)
@@ -1265,5 +1265,11 @@
x = np.array([1,2,3], dtype=np.dtype('<i4'))
assert_equal(md5(x).hexdigest(), '2a1dd1e1e59d0a384c26951e316cd7e6')
+ def test_numeric_handleError(self):
+ """Ticket #1405"""
+ from numpy import numarray
+ # Just make sure this doesn't throw an exception
+ numarray.handleError(0, "")
+
if __name__ == "__main__":
run_module_suite()
More information about the Numpy-svn
mailing list