[Numpy-discussion] Failures in test_recfunctions.py
Nils Wagner
nwagner@iam.uni-stuttgart...
Thu Jan 22 11:27:47 CST 2009
>>> numpy.__version__
'1.3.0.dev6331'
======================================================================
FAIL: Test the ignoremask option of find_duplicates
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/nwagner/local/lib64/python2.6/site-packages/numpy/lib/tests/test_recfunctions.py",
line 186, in test_find_duplicates_ignoremask
assert_equal(test[-1], control)
File
"/home/nwagner/local/lib64/python2.6/site-packages/numpy/ma/testutils.py",
line 121, in assert_equal
return assert_array_equal(actual, desired, err_msg)
File
"/home/nwagner/local/lib64/python2.6/site-packages/numpy/ma/testutils.py",
line 193, in assert_array_equal
header='Arrays are not equal')
File
"/home/nwagner/local/lib64/python2.6/site-packages/numpy/ma/testutils.py",
line 186, in assert_array_compare
verbose=verbose, header=header)
File
"/home/nwagner/local/lib64/python2.6/site-packages/numpy/testing/utils.py",
line 295, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not equal
(mismatch 33.3333333333%)
x: array([0, 1, 3, 4, 2, 6])
y: array([0, 1, 3, 4, 6, 2])
======================================================================
FAIL: Test zip_descr
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/nwagner/local/lib64/python2.6/site-packages/numpy/lib/tests/test_recfunctions.py",
line 34, in test_zip_descr
np.dtype([('', '<i4'), ('', '<i4')]))
File
"/home/nwagner/local/lib64/python2.6/site-packages/numpy/ma/testutils.py",
line 98, in assert_equal
raise AssertionError(msg)
AssertionError:
Items are not equal:
ACTUAL: [('f0', '<i8'), ('f1', '<i8')]
DESIRED: dtype([('f0', '<i4'), ('f1', '<i4')])
----------------------------------------------------------------------
Ran 1881 tests in 15.223s
FAILED (KNOWNFAIL=9, failures=2)
<nose.result.TextTestResult run=1881 errors=0 failures=2>
More information about the Numpy-discussion
mailing list