[NumPy-Tickets] [NumPy] #1543: assert_almost_equal has bad behavior (decimals=)

NumPy Trac numpy-tickets@scipy....
Sun Mar 6 21:18:19 CST 2011


#1543: assert_almost_equal has bad behavior (decimals=)
-----------------------------------------+----------------------------------
 Reporter:  pv                           |       Owner:  somebody      
     Type:  defect                       |      Status:  needs_decision
 Priority:  normal                       |   Milestone:  2.0.0         
Component:  numpy.testing                |     Version:  devel         
 Keywords:  testing assert almost equal  |  
-----------------------------------------+----------------------------------
Changes (by rgommers):

  * status:  new => needs_decision


Comment:

 I've asked on-list about this for 1.6.

 My preference is to copy {{{assert_tol_equal}}} and refer to it and the
 {{{*_ulp}}} functions in the {{{assert_almost_equal}}} dostring, but not
 to deprecate it. It's used too widely, and for tests that work there is
 not an urgent need to change to a new function.

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


More information about the NumPy-Tickets mailing list