summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_regression.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2009-04-10 01:58:27 +0000
committerCharles Harris <charlesr.harris@gmail.com>2009-04-10 01:58:27 +0000
commite02bf24487e84fb7bbb6bb2ffc25d5833f5ae30d (patch)
tree72e3d3283c7473815b08fee55b62f6845f52f3fc /numpy/lib/tests/test_regression.py
parent85eb59a8b2625296310bb8628177792cc506a509 (diff)
downloadnumpy-e02bf24487e84fb7bbb6bb2ffc25d5833f5ae30d.tar.gz
Fix ticket #928
Diffstat (limited to 'numpy/lib/tests/test_regression.py')
-rw-r--r--numpy/lib/tests/test_regression.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/lib/tests/test_regression.py b/numpy/lib/tests/test_regression.py
index e58756b9b..5eeb16295 100644
--- a/numpy/lib/tests/test_regression.py
+++ b/numpy/lib/tests/test_regression.py
@@ -44,6 +44,10 @@ class TestRegression(object):
q,r = np.polydiv(x,x)
assert_(q.dtype == np.float, msg)
+ def test_histogramdd_too_many_bins(self) :
+ """Ticket 928."""
+ assert_raises(ValueError, np.histogramdd, [np.ones(10)]*32)
+
if __name__ == "__main__":
run_module_suite()