[Numpy-discussion] test failures

Charles R Harris charlesr.harris@gmail....
Wed Feb 13 16:39:53 CST 2008


Hi Stefan,

I believe these come from your latest commit.

File "/usr/lib/python2.5/site-packages/numpy/lib/tests/test_ufunclike.py",
line 25, in test_ufunclike
Failed example:
    nx.sign(a)
Expected:
    array([ 1., -1.,  0.,  0.,  1., -1.])
Got:
    array([ 1., -1., -1.,  0.,  1., -1.])
**********************************************************************
File "/usr/lib/python2.5/site-packages/numpy/lib/tests/test_ufunclike.py",
line 40, in test_ufunclike
Failed example:
    nx.sign(a, y)
Expected:
    array([ True,  True, False, False,  True,  True], dtype=bool)
Got:
    array([ True,  True,  True, False,  True,  True], dtype=bool)
**********************************************************************
File "/usr/lib/python2.5/site-packages/numpy/lib/tests/test_ufunclike.py",
line 43, in test_ufunclike
Failed example:
    y
Expected:
    array([ True,  True, False, False,  True,  True], dtype=bool)
Got:
    array([ True,  True,  True, False,  True,  True], dtype=bool)
...............................................................................................................................................
======================================================================
FAIL: Ticket #588
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/lib/python2.5/site-packages/numpy/core/tests/test_regression.py", line
734, in check_dot_negative_stride
    assert_equal(np.dot(x,z),np.dot(x,y2))
  File "/usr/lib/python2.5/site-packages/numpy/testing/utils.py", line 143,
in assert_equal
    return assert_array_equal(actual, desired, err_msg)
  File "/usr/lib/python2.5/site-packages/numpy/testing/utils.py", line 225,
in assert_array_equal
    verbose=verbose, header='Arrays are not equal')
  File "/usr/lib/python2.5/site-packages/numpy/testing/utils.py", line 217,
in assert_array_compare
    assert cond, msg
AssertionError:
Arrays are not equal

(mismatch 100.0%)
 x: array([[ 55924.]])
 y: array([[ 640000.]])

======================================================================
FAIL: Ticket #396
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/lib/python2.5/site-packages/numpy/core/tests/test_regression.py", line
600, in check_poly1d_nan_roots
    self.failUnlessRaises(np.linalg.LinAlgError,getattr,p,"r")
AssertionError: LinAlgError not raised

----------------------------------------------------------------------
Ran 805 tests in 2.983s

FAILED (failures=2)
Out[1]: <unittest._TextTestResult run=805 errors=0 failures=2>


Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080213/0f9cc677/attachment.html 


More information about the Numpy-discussion mailing list