diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2011-04-27 20:19:06 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2011-04-27 20:19:06 -0600 |
commit | 99924798b0683a14d96d8db3430babc0a70fd52e (patch) | |
tree | 373852d4782b55b3e02a92d2d20e7307d59f96c6 | |
parent | f7eda58cb3e603219c5faf628810a7e980ae01ea (diff) | |
download | numpy-99924798b0683a14d96d8db3430babc0a70fd52e.tar.gz |
BUG: Remove buggy test for error trying to allocate too large array.
-rw-r--r-- | numpy/core/tests/test_regression.py | 3 |
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.""" |