diff options
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/tests/test_multiarray.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/core/tests/test_multiarray.py b/numpy/core/tests/test_multiarray.py index 6fb7b4b36..a6c8489ef 100644 --- a/numpy/core/tests/test_multiarray.py +++ b/numpy/core/tests/test_multiarray.py @@ -593,6 +593,10 @@ class TestCreation(TestCase): for dt in types: d = np.zeros((30 * 1024**2,), dtype=dt) assert_(not d.any()) + # This test can fail on 32-bit systems due to insufficient + # contiguous memory. Deallocating the previous array increases the + # chance of success. + del(d) def test_zeros_obj(self): # test initialization from PyLong(0) |