[SciPy-dev] scipy.test()FAILED(failures=8, errors=2)

Nils Wagner wagner.nils at vdi.de
Tue Nov 18 04:11:37 CST 2003


Hi all, 
 
This is the result of scipy.test() when using 
 
Python 2.3+ (#1, Sep 23 2003, 23:07:16) 
[GCC 3.3.1 (SuSE Linux)] on linux2 
Type "help", "copyright", "credits" or "license" for more information. 
>>> scipy.__version__ 
'0.2.1_249.4433' 
 >>> Numeric.__version__ 
'23.1' 
 
====================================================================== 
ERROR: check_data 
(scipy.stats.morestats.test_morestats.test_binom_test) 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "/usr/lib/python2.3/site-packages/scipy/stats/tests/
test_morestats.py", line 101, in check_data 
    pval = stats.binom_test(100,250) 
  File "/usr/lib/python2.3/site-packages/scipy/stats/morestats.py", line 
683, in binom_test 
    d = distributions.binom.pdf(x,n,p) 
AttributeError: binom_gen instance has no attribute 'pdf' 
 
====================================================================== 
ERROR: check_pdf 
(scipy.stats.distributions.test_distributions.test_randint) 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "/usr/lib/python2.3/site-packages/scipy/stats/tests/
test_distributions.py", line 91, in check_pdf 
    vals = stats.randint.pdf(k,5,30) 
AttributeError: randint_gen instance has no attribute 'pdf' 
 
====================================================================== 
FAIL: check_simple (scipy.linalg.fblas.test_fblas.test_sgemv) 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "/usr/lib/python2.3/site-packages/scipy/linalg/tests/test_fblas.py", 
line 315, in check_simple 
    assert(allclose(desired_y,y)) 
AssertionError 
 
====================================================================== 
FAIL: check_random_complex 
(scipy.linalg.decomp.test_decomp.test_cholesky) 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "/usr/lib/python2.3/site-packages/scipy/linalg/tests/
test_decomp.py", line 276, in check_random_complex 
    assert_array_almost_equal(cholesky(a),c) 
  File "/usr/lib/python2.3/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_simple_complex 
(scipy.linalg.decomp.test_decomp.test_cholesky) 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "/usr/lib/python2.3/site-packages/scipy/linalg/tests/
test_decomp.py", line 250, in check_simple_complex 
    assert_array_almost_equal(cholesky(a),c) 
  File "/usr/lib/python2.3/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_in (scipy.special.basic.test_basic.test_sph_in) 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "/usr/lib/python2.3/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/lib/python2.3/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/lib/python2.3/site-packages/scipy/special/tests/
test_basic.py", line 1955, in check_sph_jn 
    assert_almost_equal(s1,0.0059615249,8) 
  File "/usr/lib/python2.3/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/lib/python2.3/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/lib/python2.3/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_cdf 
(scipy.stats.distributions.test_distributions.test_foldnorm) 
---------------------------------------------------------------------- 
Traceback (most recent call last): 
  File "<string>", line 10, in check_cdf 
AssertionError: D = 0.312293158009; pval = 0.00212607354437; alpha 
= 0.01 
args = (1.3275833471460694,) 
 
====================================================================== 
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.434285651463; pval = 5.80078147339e-06; alpha 
= 0.01 
args = (1.7513774539410023, 1.3175489373516882) 
 
---------------------------------------------------------------------- 
Ran 1028 tests in 2.690s 
 
FAILED (failures=8, errors=2) 
<unittest.TextTestRunner object at 0x429c6acc> 
 


More information about the Scipy-dev mailing list