[Numpy-discussion] FAIL: Test corrcoef 1 1D variable w/missing values

Nils Wagner nwagner@iam.uni-stuttgart...
Thu Aug 7 01:30:04 CDT 2008


Hi all,

Can someone reproduce the failure
with
>>> numpy.__version__
'1.2.0.dev5618'


======================================================================
FAIL: Test corrcoef 1 1D variable w/missing values
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/ma/tests/test_extras.py", 
line 463, in test_1d_w_missing
     corrcoef(x, x[::-1], rowvar=False))
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/ma/testutils.py", 
line 120, in assert_equal
     return assert_array_equal(actual, desired, err_msg)
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/ma/testutils.py", 
line 186, in assert_array_equal
     header='Arrays are not equal')
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/ma/testutils.py", 
line 180, in assert_array_compare
     verbose=verbose, header=header)
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/testing/utils.py", 
line 289, in assert_array_compare
     assert cond, msg
AssertionError:
Arrays are not equal

(mismatch 50.0%)
  x: array([[ 1.        , -0.38605094],
        [-0.38605094,  1.        ]])
  y: array([[ 1.        , -0.38605094],
        [-0.38605094,  1.        ]])

Nils

  


More information about the Numpy-discussion mailing list