[SciPy-dev] scipy.test() FAILED (failures=6, errors=8) in latest cvs

Nils Wagner nwagner at mecha.uni-stuttgart.de
Tue Nov 18 03:06:17 CST 2003


Just a short report of scipy.test() with latest cvs

Nils

>>> scipy.__version__
'0.2.1_249.4430'
>>> Numeric.__version__
'23.1'
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_cdf
(scipy.stats.distributions.test_distributions.test_fatiguelife)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 5, in check_cdf
  File "/usr/local/lib/python2.1/site-packages/scipy/stats/stats.py",
line 1521, in kstest
    vals = sb.sort(rvs(*args,**kwds))
  File
"/usr/local/lib/python2.1/site-packages/scipy/stats/distributions.py",
line 432, in rvs
    vals = reshape(self._rvs(*args),size)
  File
"/usr/local/lib/python2.1/site-packages/scipy/stats/distributions.py",
line 1195, in _rvs
    z = norm(size=self._size)
  File
"/usr/local/lib/python2.1/site-packages/scipy/stats/distributions.py",
line 761, in __call__
    raise ValueError
ValueError
======================================================================
ERROR: check_cdf
(scipy.stats.distributions.test_distributions.test_foldnorm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 5, in check_cdf
  File "/usr/local/lib/python2.1/site-packages/scipy/stats/stats.py",
line 1521, in kstest
    vals = sb.sort(rvs(*args,**kwds))
  File
"/usr/local/lib/python2.1/site-packages/scipy/stats/distributions.py",
line 432, in rvs
    vals = reshape(self._rvs(*args),size)
  File
"/usr/local/lib/python2.1/site-packages/scipy/stats/distributions.py",
line 1274, in _rvs
    return abs(norm(mu=c,size=self._size))
  File
"/usr/local/lib/python2.1/site-packages/scipy/stats/distributions.py",
line 761, in __call__
    raise ValueError
ValueError
======================================================================
ERROR: check_cdf
(scipy.stats.distributions.test_distributions.test_gilbrat)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 5, in check_cdf
  File "/usr/local/lib/python2.1/site-packages/scipy/stats/stats.py",
line 1521, in kstest
    vals = sb.sort(rvs(*args,**kwds))
  File
"/usr/local/lib/python2.1/site-packages/scipy/stats/distributions.py",
line 432, in rvs
    vals = reshape(self._rvs(*args),size)
  File
"/usr/local/lib/python2.1/site-packages/scipy/stats/distributions.py",
line 1738, in _rvs
    return lognorm_gen._rvs(self, 1.0)
  File
"/usr/local/lib/python2.1/site-packages/scipy/stats/distributions.py",
line 1718, in _rvs
    return exp(s * norm(size=self._size))
  File
"/usr/local/lib/python2.1/site-packages/scipy/stats/distributions.py",
line 761, in __call__
    raise ValueError
ValueError
======================================================================
ERROR: check_cdf
(scipy.stats.distributions.test_distributions.test_halfnorm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 5, in check_cdf
  File "/usr/local/lib/python2.1/site-packages/scipy/stats/stats.py",
line 1521, in kstest
    vals = sb.sort(rvs(*args,**kwds))
  File
"/usr/local/lib/python2.1/site-packages/scipy/stats/distributions.py",
line 432, in rvs
    vals = reshape(self._rvs(*args),size)
  File
"/usr/local/lib/python2.1/site-packages/scipy/stats/distributions.py",
line 1540, in _rvs
    return abs(norm(size=self._size))
  File
"/usr/local/lib/python2.1/site-packages/scipy/stats/distributions.py",
line 761, in __call__
    raise ValueError
ValueError
======================================================================
ERROR: check_cdf
(scipy.stats.distributions.test_distributions.test_lognorm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 5, in check_cdf
  File "/usr/local/lib/python2.1/site-packages/scipy/stats/stats.py",
line 1521, in kstest
    vals = sb.sort(rvs(*args,**kwds))
  File
"/usr/local/lib/python2.1/site-packages/scipy/stats/distributions.py",
line 432, in rvs
    vals = reshape(self._rvs(*args),size)
  File
"/usr/local/lib/python2.1/site-packages/scipy/stats/distributions.py",
line 1718, in _rvs
    return exp(s * norm(size=self._size))
  File
"/usr/local/lib/python2.1/site-packages/scipy/stats/distributions.py",
line 761, in __call__
    raise ValueError
ValueError
======================================================================
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
======================================================================
FAIL: check_cdf (scipy.stats.distributions.test_distributions.test_nct)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 10, in check_cdf
AssertionError: D = 0.62956452799; pval = 2.42827979946e-12; alpha =
0.01
args = (1.0156077768803375, 1.3891921950688992)
======================================================================
FAIL: check_pro_ang1_cv (scipy.special.cephes.test_cephes.test_cephes)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.1/site-packages/scipy/special/tests/test_cephes.py",
line 355, in check_pro_ang1_cv
    assert_equal(cephes.pro_ang1_cv(1,1,1,1,0),(1.0,0.0))
  File "/usr/local/lib/python2.1/site-packages/scipy_test/testing.py",
line 519, in assert_equal
    assert desired == actual, msg
AssertionError:
Items are not equal:
DESIRED: (1.0, 0.0)
ACTUAL: (0.99999999999999989, 0.0)
======================================================================
FAIL: check_pro_ang1_cv (scipy.special.basic.test_basic.test_cephes)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.1/site-packages/scipy/special/tests/test_basic.py",
line 384, in check_pro_ang1_cv
    assert_equal(cephes.pro_ang1_cv(1,1,1,1,0),(1.0,0.0))
  File "/usr/local/lib/python2.1/site-packages/scipy_test/testing.py",
line 519, in assert_equal
    assert desired == actual, msg
AssertionError:
Items are not equal:
DESIRED: (1.0, 0.0)
ACTUAL: (0.99999999999999989, 0.0)
======================================================================
FAIL: check_sph_in (scipy.special.basic.test_basic.test_sph_in)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.1/site-packages/scipy/special/tests/test_basic.py",
line 1939, in check_sph_in
    assert_array_almost_equal(i1n[0],array([1.00668001,0.06693370]),8)
  File "/usr/local/lib/python2.1/site-packages/scipy_test/testing.py",
line 592, in assert_array_almost_equal
    assert alltrue(ravel(reduced)),\
AssertionError:
Arrays are not almost equal:

======================================================================
FAIL: check_sph_jn (scipy.special.basic.test_basic.test_sph_jn)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.1/site-packages/scipy/special/tests/test_basic.py",
line 1955, in check_sph_jn
    assert_almost_equal(s1,0.0059615249,8)
  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
AssertionError:
Items are not equal:
DESIRED: 0.0059615249
ACTUAL: 0.0
======================================================================
FAIL: check_sph_kn (scipy.special.basic.test_basic.test_sph_kn)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.1/site-packages/scipy/special/tests/test_basic.py",
line 1972, in check_sph_kn
    assert_array_almost_equal(kn[0],array([      6.43029630, 
38.5817778]),8)
  File "/usr/local/lib/python2.1/site-packages/scipy_test/testing.py",
line 592, in assert_array_almost_equal
    assert alltrue(ravel(reduced)),\
AssertionError:
Arrays are not almost equal:

----------------------------------------------------------------------
Ran 959 tests in 3.447s

FAILED (failures=6, errors=8)
<unittest.TextTestRunner instance at 0x8b80ed4>


More information about the Scipy-dev mailing list