[NumPy-Tickets] [NumPy] #1894: "DeprecationWarning: Setting NumPy dtype names is deprecated" in several tests

NumPy Trac numpy-tickets@scipy....
Tue Jul 5 12:10:04 CDT 2011


#1894: "DeprecationWarning: Setting NumPy dtype names is deprecated" in several
tests
----------------------+-----------------------------------------------------
 Reporter:  sienkiew  |       Owner:  somebody   
     Type:  defect    |      Status:  new        
 Priority:  normal    |   Milestone:  Unscheduled
Component:  Other     |     Version:  devel      
 Keywords:            |  
----------------------+-----------------------------------------------------

Comment(by rgommers):

 The difference is due to a change in Python 2.7; DeprecationWarnings don't
 show up by default. From the numpy README.txt:
 {{{
 When installing a new version of numpy for the first time or before
 upgrading
 to a newer version, it is recommended to turn on deprecation warnings when
 running the tests:

 python -Wd -c 'import numpy; numpy.test()'
 }}}

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


More information about the NumPy-Tickets mailing list