summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/tests/test_regression.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/numpy/core/tests/test_regression.py b/numpy/core/tests/test_regression.py
index 41b9ed470..5111ab8aa 100644
--- a/numpy/core/tests/test_regression.py
+++ b/numpy/core/tests/test_regression.py
@@ -1265,5 +1265,11 @@ class TestRegression(TestCase):
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()