[SciPy-user] test failures on os x

Gideon Simpson grs2103 at columbia.edu
Mon Apr 21 09:59:08 EDT 2008


finally got scipy running on os x 10.5.2, with gfortran 4.3, Apple  
Python 2.5.1, and Apple gcc 4.0.1, but I'm getting the following test  
errors:

======================================================================
FAIL: check_dot (scipy.lib.tests.test_blas.test_fblas1_simple)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/opt/lib/python2.5/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 "/opt/lib/python2.5/site-packages/numpy/testing/utils.py",  
line 158, in assert_almost_equal
     assert round(abs(desired - actual),decimal) == 0, msg
AssertionError:
Items are not equal:
  ACTUAL: 1.1081566907292542e-37j
  DESIRED: (-9+2j)

======================================================================
FAIL: Solve: single precision complex
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/opt/lib/python2.5/site-packages/scipy/linsolve/umfpack/tests/ 
test_umfpack.py", line 32, in check_solve_complex_without_umfpack
     assert_array_almost_equal(a*x, b)
   File "/opt/lib/python2.5/site-packages/numpy/testing/utils.py",  
line 232, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File "/opt/lib/python2.5/site-packages/numpy/testing/utils.py",  
line 217, in assert_array_compare
     assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 20.0%)
  x: array([ 1.00000000+0.j,  1.99999809+0.j,  3.00000000+0.j,   
4.00000048+0.j,
         5.00000000+0.j], dtype=complex64)
  y: array([1, 2, 3, 4, 5])

----------------------------------------------------------------------
Ran 1725 tests in 4.014s

FAILED (failures=2)
<unittest._TextTestResult run=1725 errors=0 failures=2>




More information about the SciPy-User mailing list