[SciPy-dev] unit test failures

Charles R Harris charlesr.harris@gmail....
Wed Jun 11 14:12:22 CDT 2008


On Fri, Jun 6, 2008 at 11:46 PM, Christoph T. Weidemann <ctw@cogsci.info>
wrote:

> 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.]])
>

I haven't seen these before. Can you check if they are still present? Also,
try deleting the numpy package in site-packages before the install.


> ======================================================================
> 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'
> __


This one has been fixed.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-dev/attachments/20080611/179fbe01/attachment.html 


More information about the Scipy-dev mailing list