[SciPy-user] sparse & odr failures on latest scipy svn

George Nurser gnurser at googlemail.com
Fri Mar 23 12:38:45 EDT 2007


I get one error in the sparse tests and two in the odr tests for scipy v 2869

python 2.3, numpy svn 3591, acml math, 64 bit Linux on opteron.
These errors were not there last time I updated (v 2324)

--George Nurser.


....

..............F..F..............
======================================================================
ERROR: check_normalize (scipy.sparse.tests.test_sparse.test_coo)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/noc/users/agn/ext/Linux/lib64/python2.3/site-packages/scipy/sparse/tests/test_sparse.py",
line 812, in check_normalize
    assert(zip(ncol,nrow,ndata) == sorted(zip(col,row,data))) #should
sort by cols, then rows
NameError: global name 'sorted' is not defined

======================================================================
FAIL: test_explicit (scipy.tests.test_odr.test_odr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/noc/users/agn/ext/Linux/lib64/python2.3/site-packages/scipy/odr/tests/test_odr.py",
line 49, in test_explicit
    np.array([  1.2646548050648876e+03,  -5.4018409956678255e+01,
  File "/noc/users/agn/ext/Linux/lib64/python/numpy/testing/utils.py",
line 230, in assert_array_almost_equal
    header='Arrays are not almost equal')
  File "/noc/users/agn/ext/Linux/lib64/python/numpy/testing/utils.py",
line 215, in assert_array_compare
    assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 100.0%)
 x: array([  1.26462971e+03,  -5.42545890e+01,  -8.64250389e-02])
 y: array([  1.26465481e+03,  -5.40184100e+01,  -8.78497122e-02])

======================================================================
FAIL: test_multi (scipy.tests.test_odr.test_odr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/noc/users/agn/ext/Linux/lib64/python2.3/site-packages/scipy/odr/tests/test_odr.py",
line 190, in test_multi
    np.array([ 4.3799880305938963,  2.4333057577497703,  8.0028845899503978,
  File "/noc/users/agn/ext/Linux/lib64/python/numpy/testing/utils.py",
line 230, in assert_array_almost_equal
    header='Arrays are not almost equal')
  File "/noc/users/agn/ext/Linux/lib64/python/numpy/testing/utils.py",
line 215, in assert_array_compare
    assert cond, msg
AssertionError:
Arrays are not almost equal

(mismatch 100.0%)
 x: array([ 4.31272063,  2.44289312,  7.76215871,  0.55995622,  0.46423343])
 y: array([ 4.37998803,  2.43330576,  8.00288459,  0.51011472,  0.51739023])

----------------------------------------------------------------------
Ran 1620 tests in 4.210s

FAILED (failures=2, errors=1)
<unittest.TextTestRunner object at 0x2a9bdee1d0>



More information about the SciPy-User mailing list