[SciPy-user] test failures in 0.5.1
Erick Tryzelaar
erickt at dslextreme.com
Wed Sep 6 04:42:16 EDT 2006
Hello,
I just installed 0.5.1, and I got these errors. Any idea what's going on?
-e
======================================================================
ERROR: check loadmat case cellnest
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/opt/local/lib/python2.4/site-packages/scipy/io/tests/test_mio.py",
line 80, in cc
self._check_case(name, expected)
File
"/opt/local/lib/python2.4/site-packages/scipy/io/tests/test_mio.py",
line 75, in _check_case
self._check_level(k_label, expected, matdict[k])
File
"/opt/local/lib/python2.4/site-packages/scipy/io/tests/test_mio.py",
line 33, in _check_level
self._check_level(level_label, ev, actual[i])
File
"/opt/local/lib/python2.4/site-packages/scipy/io/tests/test_mio.py",
line 30, in _check_level
assert len(expected) == len(actual), "Different list lengths at %s"
% label
TypeError: len() of unsized object
======================================================================
FAIL: check loadmat case vec
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/opt/local/lib/python2.4/site-packages/scipy/io/tests/test_mio.py",
line 80, in cc
self._check_case(name, expected)
File
"/opt/local/lib/python2.4/site-packages/scipy/io/tests/test_mio.py",
line 74, in _check_case
assert k in matdict, "Missing key at %s" % k_label
AssertionError: Missing key at Test 'vec',
file:/opt/local/lib/python2.4/site-packages/scipy/io/tests/./data/testvec_4_GLNX86.mat,
variable fit_params
======================================================================
FAIL: check_dot (scipy.lib.tests.test_blas.test_fblas1_simple)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/opt/local/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 "/opt/local/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.998720645904541+5.8724710243597094e-37j)
DESIRED: (-9+2j)
======================================================================
FAIL: check_dot (scipy.linalg.tests.test_blas.test_fblas1_simple)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/opt/local/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 "/opt/local/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.998720645904541+5.8724710243597094e-37j)
DESIRED: (-9+2j)
----------------------------------------------------------------------
Ran 1569 tests in 12.867s
FAILED (failures=3, errors=1)
More information about the SciPy-User
mailing list