[SciPy-dev] errors in scipy.test()
Nils Wagner
nwagner at mecha.uni-stuttgart.de
Tue Oct 28 04:22:33 EST 2003
Dear experts,
scipy.test() from latest cvs results in 4 errors and several failures
>>> scipy.__version__
'0.2.1_249.4423'
>>> import Numeric
>>> Numeric.__version__
'23.0'
>>>
Python 2.1.2 (#1, Feb 25 2002, 18:04:21)
[GCC 2.95.3 20010315 (SuSE)] on linux2
Type "copyright", "credits" or "license" for more information.
======================================================================
ERROR: check_basic (scipy.stats.stats.test_stats.test_mode)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/local/lib/python2.1/site-packages/scipy/stats/tests/test_stats.py",
line 680, in check_basic
assert_almost_equal(vals[0],6)
File "/usr/local/lib/python2.1/site-packages/scipy_test/testing.py",
line 536, in assert_almost_equal
assert round(abs(desired - actual),decimal) == 0, msg
TypeError: only rank-0 arrays can be converted to Python scalars.
======================================================================
ERROR: check_linear_constant
(scipy.interpolate.fitpack.test_fitpack.test_LSQBivariateSpline)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/local/lib/python2.1/site-packages/scipy/interpolate/tests/test_fitpack.py",
line 52, in check_linear_constant
lut = LSQBivariateSpline(x,y,z,tx,ty,kx=1,ky=1)
File
"/usr/local/lib/python2.1/site-packages/scipy/interpolate/fitpack2.py",
line 399, in __init__
kx,ky,eps,lwrk2=1)
error: (len(y)==m) failed for 3rd argument z
======================================================================
ERROR: check_linear_1d
(scipy.interpolate.fitpack.test_fitpack.test_SmoothBivariateSpline)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/local/lib/python2.1/site-packages/scipy/interpolate/tests/test_fitpack.py",
line 72, in check_linear_1d
lut = SmoothBivariateSpline(x,y,z,kx=1,ky=1)
File
"/usr/local/lib/python2.1/site-packages/scipy/interpolate/fitpack2.py",
line 356, in __init__
kx,ky,s=s,eps=eps,lwrk2=1)
error: (len(y)==m) failed for 3rd argument z
======================================================================
ERROR: check_linear_constant
(scipy.interpolate.fitpack.test_fitpack.test_SmoothBivariateSpline)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/local/lib/python2.1/site-packages/scipy/interpolate/tests/test_fitpack.py",
line 62, in check_linear_constant
lut = SmoothBivariateSpline(x,y,z,kx=1,ky=1)
File
"/usr/local/lib/python2.1/site-packages/scipy/interpolate/fitpack2.py",
line 356, in __init__
kx,ky,s=s,eps=eps,lwrk2=1)
error: (len(y)==m) failed for 3rd argument z
Nils
More information about the SciPy-Dev
mailing list