[Scipy-tickets] [SciPy] #297: scipy.test(1) errors

SciPy scipy-tickets at scipy.net
Mon Oct 30 03:03:35 CST 2006


#297: scipy.test(1) errors
----------------------+-----------------------------------------------------
 Reporter:  nils      |       Owner:  somebody
     Type:  defect    |      Status:  new     
 Priority:  normal    |   Milestone:          
Component:  scipy.io  |     Version:  devel   
 Severity:  normal    |    Keywords:          
----------------------+-----------------------------------------------------
 Numpy version 1.0.1.dev3416

 Scipy version 0.5.2.dev2299
 {{{
 ======================================================================
 ERROR: check loadmat case cell
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/lib64/python2.4/site-packages/scipy/io/tests/test_mio.py",
 line 84, in cc
     self._check_case(name, files, expected)
   File "/usr/lib64/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/lib64/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/lib64/python2.4/site-packages/numpy/testing/utils.py", line
 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File "/usr/lib64/python2.4/site-packages/numpy/testing/utils.py", line
 200, in assert_array_compare
     val = comparison(x,y)
   File "/usr/lib64/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/lib64/python2.4/site-packages/scipy/io/tests/test_mio.py",
 line 84, in cc
     self._check_case(name, files, expected)
   File "/usr/lib64/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/lib64/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/lib64/python2.4/site-packages/numpy/testing/utils.py", line
 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File "/usr/lib64/python2.4/site-packages/numpy/testing/utils.py", line
 200, in assert_array_compare
     val = comparison(x,y)
   File "/usr/lib64/python2.4/site-packages/numpy/testing/utils.py", line
 228, in compare
     return around(abs(x-y),decimal) <= 10.0**(-decimal)
   File "/usr/lib64/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/lib64/python2.4/site-packages/scipy/io/tests/test_mio.py",
 line 84, in cc
     self._check_case(name, files, expected)
   File "/usr/lib64/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/lib64/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/lib64/python2.4/site-packages/numpy/testing/utils.py", line
 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File "/usr/lib64/python2.4/site-packages/numpy/testing/utils.py", line
 200, in assert_array_compare
     val = comparison(x,y)
   File "/usr/lib64/python2.4/site-packages/numpy/testing/utils.py", line
 228, in compare
     return around(abs(x-y),decimal) <= 10.0**(-decimal)
   File "/usr/lib64/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/lib64/python2.4/site-packages/scipy/io/tests/test_mio.py",
 line 84, in cc
     self._check_case(name, files, expected)
   File "/usr/lib64/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/lib64/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/lib64/python2.4/site-packages/numpy/testing/utils.py", line
 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File "/usr/lib64/python2.4/site-packages/numpy/testing/utils.py", line
 200, in assert_array_compare
     val = comparison(x,y)
   File "/usr/lib64/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/lib64/python2.4/site-packages/scipy/io/tests/test_mio.py",
 line 84, in cc
     self._check_case(name, files, expected)
   File "/usr/lib64/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/lib64/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/lib64/python2.4/site-packages/numpy/testing/utils.py", line
 230, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File "/usr/lib64/python2.4/site-packages/numpy/testing/utils.py", line
 200, in assert_array_compare
     val = comparison(x,y)
   File "/usr/lib64/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'
 }}}

-- 
Ticket URL: <http://projects.scipy.org/scipy/scipy/ticket/297>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list