summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/tests/test_regression.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/core/tests/test_regression.py b/numpy/core/tests/test_regression.py
index ecf679c49..5264ff31e 100644
--- a/numpy/core/tests/test_regression.py
+++ b/numpy/core/tests/test_regression.py
@@ -1153,9 +1153,8 @@ class TestRegression(TestCase):
def test_array_too_big(self):
"""Ticket #1080."""
- assert_raises(ValueError, np.zeros, [1023]*10, np.int8)
+ assert_raises(ValueError, np.zeros, [975]*7, np.int8)
assert_raises(ValueError, np.zeros, [26244]*5, np.int8)
- assert_raises(ValueError, np.zeros, [2**30]*2, np.int8)
def test_dtype_keyerrors_(self):
"""Ticket #1106."""