[SciPy-dev] unit test failures

Christoph T. Weidemann ctw@cogsci.i...
Sat Jun 7 00:46:28 CDT 2008


Hi!

When running the latest svn versions 5256/5257, I get 3 unit test
failures on my desktop machine, but not on my laptop and one different
failure on my laptop (both Intel running Kubuntu Hardy). I've attached
the error messages below. Does anybody know what's going on here?

CTW


Desktop error messages:

======================================================================
FAIL: Ticket #588
----------------------------------------------------------------------
Traceback (most recent call last):
  File "numpy/core/tests/test_regression.py", line 751, in
check_dot_negative_stride
    assert_equal(np.dot(x,z),np.dot(x,y2))
  File "/home/ctw/src/numpy-trunk/numpy_local_install//lib/python/numpy/testing/utils.py",
line 143, in assert_equal
    return assert_array_equal(actual, desired, err_msg, verbose)
  File "/home/ctw/src/numpy-trunk/numpy_local_install//lib/python/numpy/testing/utils.py",
line 248, in assert_array_equal
    verbose=verbose, header='Arrays are not equal')
  File "/home/ctw/src/numpy-trunk/numpy_local_install//lib/python/numpy/testing/utils.py",
line 240, in assert_array_compare
    assert cond, msg
AssertionError:
Arrays are not equal

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

======================================================================
FAIL: Ticket #588
----------------------------------------------------------------------
Traceback (most recent call last):
  File "numpy/core/tests/test_regression.py", line 751, in
check_dot_negative_stride
    assert_equal(np.dot(x,z),np.dot(x,y2))
  File "/home/ctw/src/numpy-trunk/numpy_local_install//lib/python/numpy/testing/utils.py",
line 143, in assert_equal
    return assert_array_equal(actual, desired, err_msg, verbose)
  File "/home/ctw/src/numpy-trunk/numpy_local_install//lib/python/numpy/testing/utils.py",
line 248, in assert_array_equal
    verbose=verbose, header='Arrays are not equal')
  File "/home/ctw/src/numpy-trunk/numpy_local_install//lib/python/numpy/testing/utils.py",
line 240, in assert_array_compare
    assert cond, msg
AssertionError:
Arrays are not equal

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

======================================================================
FAIL: Tests mask_rowcols.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "numpy/ma/tests/test_extras.py", line 211, in check_mask_rowcols
    assert(mask_rowcols(x).all())
AssertionError

----------------------------------------------------------------------
Ran 1306 tests in 5.773s

FAILED (failures=3)
<unittest._TextTestResult run=1306 errors=0 failures=3>
>>> numpy.__version__
'1.2.0.dev5257'




Laptop error message:

FAIL: Tests mask_rowcols.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ctw/src/numpy/numpy_local_install/lib/python/numpy/ma/tests/test_extras.py",
line 211, in check_mask_rowcols
    assert(mask_rowcols(x).all())
AssertionError

----------------------------------------------------------------------
Ran 1306 tests in 1.415s

FAILED (failures=1)
<unittest._TextTestResult run=1306 errors=0 failures=1>
>>> numpy.__version__
'1.2.0.dev5257'


More information about the Scipy-dev mailing list