[NumPy-Tickets] [NumPy] #1811: test fails: test_array_too_big (test_regression.TestRegression)
NumPy Trac
numpy-tickets@scipy....
Wed Apr 27 09:44:00 CDT 2011
#1811: test fails: test_array_too_big (test_regression.TestRegression)
----------------------+-----------------------------------------------------
Reporter: sienkiew | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: Unscheduled
Component: Other | Version: 1.5.1
Keywords: |
----------------------+-----------------------------------------------------
{{{
======================================================================
ERROR: test_array_too_big (test_regression.TestRegression)
Ticket #1080.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/stsci/pyssgdev/2.7/numpy/core/tests/test_regression.py", line
1157, in test_array_too_big
assert_raises(MemoryError, np.zeros, [2**30]*2, np.int8)
File "/usr/stsci/pyssgdev/2.7/numpy/testing/utils.py", line 1007, in
assert_raises
return nose.tools.assert_raises(*args,**kwargs)
File "/usr/stsci/pyssgdev/Python-2.7/lib/python2.7/unittest/case.py",
line 456, in assertRaises
callableObj(*args, **kwargs)
ValueError: array is too big.
}}}
This is in Python 2.7 on 32 bit Mac and 32 bit Red Hat Enterprise 4.
Works on Python 2.5, 2.6, 2.7 on 64 bit RHE 5. Works on Python 2.7 on 64
bit Mac Snow Leopard. Works on Python 2.7 on 64 bit RHE 4.
The line of the test that is erroring is:
{{{
assert_raises(MemoryError, np.zeros, [2**30]*2, np.int8)
}}}
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1811>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list