[NumPy-Tickets] [NumPy] #1367: test_core.TestMaskedView fails with python2.4
NumPy Trac
numpy-tickets@scipy....
Thu Jan 21 06:26:05 CST 2010
#1367: test_core.TestMaskedView fails with python2.4
------------------------+---------------------------------------------------
Reporter: NeilMuller | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone:
Component: numpy.core | Version: devel
Keywords: |
------------------------+---------------------------------------------------
Seen on both Linux i386 with python 2.4.6 and Linux sparc with python
2.4.4. Not seen with python 2.5
{{{
======================================================================
ERROR: test_view_to_flexible_dtype (test_core.TestMaskedView)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/neil/Trees/Numpy_svn/install2.4/lib/python2.4/site-
packages/numpy/ma/tests/test_core.py", line 3313, in
test_view_to_flexible_dtype
test = a[0].view([('A', float), ('B', float)])
File "../install2.4/lib/python2.4/site-packages/numpy/ma/core.py", line
2862, in view
File "../install2.4/lib/python2.4/site-packages/numpy/ma/core.py", line
2786, in __array_finalize__
TypeError: attribute 'shape' of 'numpy.generic' objects is not writable
======================================================================
ERROR: test_view_to_subdtype (test_core.TestMaskedView)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/neil/Trees/Numpy_svn/install2.4/lib/python2.4/site-
packages/numpy/ma/tests/test_core.py", line 3334, in test_view_to_subdtype
test = a[0].view((float, 2))
File "../install2.4/lib/python2.4/site-packages/numpy/ma/core.py", line
2862, in view
File "../install2.4/lib/python2.4/site-packages/numpy/ma/core.py", line
2786, in __array_finalize__
TypeError: attribute 'shape' of 'numpy.generic' objects is not writable
----------------------------------------------------------------------
}}}
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1367>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list