[SciPy-dev] Test failures

Martin Lüthi answer at tnoo.net
Wed Oct 6 19:25:34 CDT 2004


Hi 

Here is the output (2 failures, 2 errors) of the tests on my box

Python 2.3.3 (#1, Apr  6 2004, 01:47:39) 
[GCC 3.3.3 (SuSE Linux)] on linux2

gcc version 3.3.3

>>> scipy.__version__
'0.3.1_287.4340'


======================================================================
ERROR: check_defective1 (scipy.linalg.matfuncs.test_matfuncs.test_signm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/scipy/linalg/tests/test_matfuncs.py", lin
e 48, in check_defective1
    r = signm(a)
  File "/usr/lib/python2.3/site-packages/scipy/linalg/matfuncs.py", line 267, in s
ignm
    iS0 = inv(S0)
  File "/usr/lib/python2.3/site-packages/scipy/linalg/basic.py", line 176, in inv
    a1 = asarray_chkfinite(a)
  File "/usr/lib/python2.3/site-packages/scipy_base/function_base.py", line 33, in
 asarray_chkfinite
    raise ValueError, "Array must not contain infs or nans."
ValueError: Array must not contain infs or nans.

======================================================================
ERROR: check_defective3 (scipy.linalg.matfuncs.test_matfuncs.test_signm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/scipy/linalg/tests/test_matfuncs.py", lin
e 69, in check_defective3
    r = signm(a)
  File "/usr/lib/python2.3/site-packages/scipy/linalg/matfuncs.py", line 267, in s
ignm
    iS0 = inv(S0)
  File "/usr/lib/python2.3/site-packages/scipy/linalg/basic.py", line 176, in inv
    a1 = asarray_chkfinite(a)
  File "/usr/lib/python2.3/site-packages/scipy_base/function_base.py", line 33, in
 asarray_chkfinite
    raise ValueError, "Array must not contain infs or nans."
ValueError: Array must not contain infs or nans.

======================================================================
FAIL: check_nils_20Feb04 (scipy.linalg.basic.test_basic.test_solve)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/scipy/linalg/tests/test_basic.py", line 1
12, in check_nils_20Feb04
    assert_array_almost_equal(X,Ainv)
  File "/usr/lib/python2.3/site-packages/scipy_test/testing.py", line 684, in asse
rt_array_almost_equal
    assert cond,\
AssertionError: 
Arrays are not almost equal (mismatch 50.0%):
        Array 1: [[-43.6032104+13.1816127j  18.994452 +15.8269203j]
 [ 37.1899302 +2.3715189j  -9.3834051-17.4805578j]]
        Array 2: [[-27.7762901 -5.8128393j  18.994452 +15.8269203j]
 [ 19.7093724+11.754924j   -9.3834051-17.4805578j]]


======================================================================
FAIL: check_cdf (scipy.stats.distributions.test_distributions.test_gumbel_l)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 10, in check_cdf
AssertionError: D = 0.292383217812; pval = 0.00455751677656; alpha = 0.01
args = ()

----------------------------------------------------------------------
Ran 972 tests in 2.078s

FAILED (failures=2, errors=2)

-- 
Martin Lüthi                 answer at tnoo.net




More information about the Scipy-dev mailing list