[NumPy-Tickets] [NumPy] #1587: Silence test warnings in numpy 1.5

NumPy Trac numpy-tickets@scipy....
Thu Aug 19 03:18:18 CDT 2010


#1587: Silence test warnings in numpy 1.5
---------------------------+------------------------------------------------
 Reporter:  cgohlke        |       Owner:  somebody
     Type:  enhancement    |      Status:  new     
 Priority:  normal         |   Milestone:  1.5.0   
Component:  numpy.testing  |     Version:          
 Keywords:                 |  
---------------------------+------------------------------------------------

Comment(by cgohlke):

 Sorry, the above code fragment should have read:

 {{{
 err = np.seterr(invalid='ignore')
 try:
     ...
 finally:
     np.seterr(**err)
 }}}

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


More information about the NumPy-Tickets mailing list