summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_regression.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2009-04-10 19:38:24 +0000
committerCharles Harris <charlesr.harris@gmail.com>2009-04-10 19:38:24 +0000
commit5b466f329c536c2535ba867ff536062fcbaa5b60 (patch)
tree324b52bdbe4aed7d5adade29373e4d6ab2761a2a /numpy/lib/tests/test_regression.py
parentd1701c6e988329368d486675b0c190643b6f5ee0 (diff)
downloadnumpy-5b466f329c536c2535ba867ff536062fcbaa5b60.tar.gz
Make test_histogramdd_too_many_bins a bit clearer.
Diffstat (limited to 'numpy/lib/tests/test_regression.py')
-rw-r--r--numpy/lib/tests/test_regression.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_regression.py b/numpy/lib/tests/test_regression.py
index 5eeb16295..b8c487962 100644
--- a/numpy/lib/tests/test_regression.py
+++ b/numpy/lib/tests/test_regression.py
@@ -46,7 +46,7 @@ class TestRegression(object):
def test_histogramdd_too_many_bins(self) :
"""Ticket 928."""
- assert_raises(ValueError, np.histogramdd, [np.ones(10)]*32)
+ assert_raises(ValueError, np.histogramdd, np.ones((1,10)), bins=2**10)
if __name__ == "__main__":