[Numpy-tickets] [NumPy] #726: r4980 doesn't test assert_ functions with nan arrays

NumPy numpy-tickets@scipy....
Tue Apr 8 02:33:57 CDT 2008


#726: r4980 doesn't test assert_ functions with nan arrays
---------------------------+------------------------------------------------
 Reporter:  pv             |       Owner:  somebody
     Type:  defect         |      Status:  new     
 Priority:  normal         |   Milestone:  1.0.5   
Component:  numpy.testing  |     Version:  devel   
 Severity:  normal         |    Keywords:          
---------------------------+------------------------------------------------
 r4980 added a test to numpy/testing/tests/test_utils.py
 {{{
 47          def test_nan_array(self):
 48              """Test two arrays with different shapes are found not
 equal."""
 49              a = N.array([1, 2])
 50              b = N.array([[1, 2], [1, 2]])
 51
 52              self._test_not_equal(a, b)
 }}}
 This is repetition of the previous test_array_diffshape and does not
 actually test the functions for nans. (Small thing, but let's file a
 ticket nonetheless.)

-- 
Ticket URL: <http://scipy.org/scipy/numpy/ticket/726>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list