[NumPy-Tickets] [NumPy] #1367: test_core.TestMaskedView fails with python2.4

NumPy Trac numpy-tickets@scipy....
Mon Jan 25 06:04:17 CST 2010


#1367: test_core.TestMaskedView fails with python2.4
------------------------+---------------------------------------------------
 Reporter:  NeilMuller  |       Owner:  somebody    
     Type:  defect      |      Status:  needs_review
 Priority:  normal      |   Milestone:              
Component:  numpy.core  |     Version:  devel       
 Keywords:              |  
------------------------+---------------------------------------------------
Changes (by NeilMuller):

  * status:  new => needs_review


Comment:

 It looks like python 2.4 raises a TypeError rather than a AttributeError
 when shape is void. The attached patch catches both, so the tests pass.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1367#comment:1>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list