[SciPy-dev] ERROR: check loadmat case cellnest

Nils Wagner nwagner at iam.uni-stuttgart.de
Sun Oct 29 16:20:58 EST 2006


scipy.test(1) yields

======================================================================
ERROR: check loadmat case cell
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/io/tests/test_mio.py", 
line 84, in cc
     self._check_case(name, files, expected)
   File 
"/usr/lib/python2.4/site-packages/scipy/io/tests/test_mio.py", 
line 79, in _check_case
     self._check_level(k_label, expected, matdict[k])
   File 
"/usr/lib/python2.4/site-packages/scipy/io/tests/test_mio.py", 
line 66, in _check_level
     assert_array_almost_equal(actual, expected, 
err_msg=label, decimal=5)
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 200, in assert_array_compare
     val = comparison(x,y)
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 228, in compare
     return around(abs(x-y),decimal) <= 10.0**(-decimal)
TypeError: unsupported operand type(s) for -: 'unicode' 
and 'unicode'

======================================================================
ERROR: check loadmat case cellnest
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/io/tests/test_mio.py", 
line 84, in cc
     self._check_case(name, files, expected)
   File 
"/usr/lib/python2.4/site-packages/scipy/io/tests/test_mio.py", 
line 79, in _check_case
     self._check_level(k_label, expected, matdict[k])
   File 
"/usr/lib/python2.4/site-packages/scipy/io/tests/test_mio.py", 
line 66, in _check_level
     assert_array_almost_equal(actual, expected, 
err_msg=label, decimal=5)
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 200, in assert_array_compare
     val = comparison(x,y)
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 228, in compare
     return around(abs(x-y),decimal) <= 10.0**(-decimal)
   File 
"/usr/lib/python2.4/site-packages/numpy/core/fromnumeric.py", 
line 574, in round_
     return round(decimals, out)
AttributeError: 'numpy.ndarray' object has no attribute 
'rint'

======================================================================
ERROR: check loadmat case emptycell
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/io/tests/test_mio.py", 
line 84, in cc
     self._check_case(name, files, expected)
   File 
"/usr/lib/python2.4/site-packages/scipy/io/tests/test_mio.py", 
line 79, in _check_case
     self._check_level(k_label, expected, matdict[k])
   File 
"/usr/lib/python2.4/site-packages/scipy/io/tests/test_mio.py", 
line 66, in _check_level
     assert_array_almost_equal(actual, expected, 
err_msg=label, decimal=5)
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 200, in assert_array_compare
     val = comparison(x,y)
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 228, in compare
     return around(abs(x-y),decimal) <= 10.0**(-decimal)
   File 
"/usr/lib/python2.4/site-packages/numpy/core/fromnumeric.py", 
line 574, in round_
     return round(decimals, out)
AttributeError: 'numpy.float64' object has no attribute 
'rint'

======================================================================
ERROR: check loadmat case stringarray
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/io/tests/test_mio.py", 
line 84, in cc
     self._check_case(name, files, expected)
   File 
"/usr/lib/python2.4/site-packages/scipy/io/tests/test_mio.py", 
line 79, in _check_case
     self._check_level(k_label, expected, matdict[k])
   File 
"/usr/lib/python2.4/site-packages/scipy/io/tests/test_mio.py", 
line 66, in _check_level
     assert_array_almost_equal(actual, expected, 
err_msg=label, decimal=5)
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 200, in assert_array_compare
     val = comparison(x,y)
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 228, in compare
     return around(abs(x-y),decimal) <= 10.0**(-decimal)
TypeError: unsupported operand type(s) for -: 'unicode' 
and 'unicode'

======================================================================
ERROR: check loadmat case structarr
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/io/tests/test_mio.py", 
line 84, in cc
     self._check_case(name, files, expected)
   File 
"/usr/lib/python2.4/site-packages/scipy/io/tests/test_mio.py", 
line 79, in _check_case
     self._check_level(k_label, expected, matdict[k])
   File 
"/usr/lib/python2.4/site-packages/scipy/io/tests/test_mio.py", 
line 66, in _check_level
     assert_array_almost_equal(actual, expected, 
err_msg=label, decimal=5)
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 200, in assert_array_compare
     val = comparison(x,y)
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 228, in compare
     return around(abs(x-y),decimal) <= 10.0**(-decimal)
TypeError: unsupported operand type(s) for -: 'mat_struct' 
and 'mat_struct'

----------------------------------------------------------------------



More information about the SciPy-Dev mailing list