[SciPy-dev] Test failures for 0.5.2 on OS X

Tom Loredo loredo at astro.cornell.edu
Sat Dec 16 20:40:20 EST 2006


Hi folks-

I just installed numpy-1.0.1 and scipy-0.5.2 on a PPC G4 running Universal
Python 2.4.4 on OS 10.4.8.  numpy passes all tests, but scipy.test() reports
two warnings and three failed tests, copied below.  I do not know in what
situation the test failures should be of concern, but the check_dot failures
look pretty basic.  The warnings suggest two sets of tests were ignored.

-Tom

Ran 1596 tests in 33.399s
FAILED (failures=3)

Warning: FAILURE importing tests for <module 'scipy.linsolve.umfpack' from '.../linsolve/umfpack/__init__.pyc'>
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/linsolve/umfpack/tests/
test_umfpack.py:17: AttributeError: 'module' object has no attribute 'umfpack' (in ?)

Warning: FAILURE importing tests for <module 'scipy.linsolve.umfpack.umfpack' from '...y/linsolve/umfpack/umfpack.pyc'>
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/linsolve/umfpack/tests/
test_umfpack.py:17: AttributeError: 'module' object has no attribute 'umfpack' (in ?)

======================================================================
FAIL: test_smallest_same_kind (scipy.io.tests.test_recaster.test_recaster)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/io/tests/test_recaster.py", 
line 61, in test_smallest_same_kind
    assert C is not None, 'Got unexpected None from %s' % T
AssertionError: Got unexpected None from <type 'numpy.float128'>

======================================================================
FAIL: check_dot (scipy.lib.tests.test_blas.test_fblas1_simple)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/lib/blas/tests/
test_blas.py", line 76, in check_dot
    assert_almost_equal(f([3j,-4,3-4j],[2,3,1]),-9+2j)
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/numpy/testing/utils.py", line 156, 
in assert_almost_equal
    assert round(abs(desired - actual),decimal) == 0, msg
AssertionError: 
Items are not equal:
 ACTUAL: (-1.9988617897033691+5.4938433182077039e-37j)
 DESIRED: (-9+2j)
 
======================================================================
FAIL: check_dot (scipy.linalg.tests.test_blas.test_fblas1_simple)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/linalg/tests/test_blas.py", 
line 75, in check_dot
    assert_almost_equal(f([3j,-4,3-4j],[2,3,1]),-9+2j)
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/numpy/testing/utils.py", line 156, 
in assert_almost_equal
    assert round(abs(desired - actual),decimal) == 0, msg
AssertionError: 
Items are not equal:
 ACTUAL: (-1.9988617897033691+5.4938289689114293e-37j)
 DESIRED: (-9+2j)


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



More information about the SciPy-Dev mailing list