[SciPy-dev] 0.8.0.dev5677 test status on ubuntu 64bits.

Xavier Gnata xavier.gnata@gmail....
Fri Apr 17 14:33:19 CDT 2009


Hi,

On my box, scipy.test() has never been so close to a perfect score :)
On ubuntu 64bits up to date, I get:

3 failures due to target accuracy problems.
1 error in test_implicit (the test in completely buggy)
1 faillure in test_yv_cephes_vs_amos

======================================================================               

ERROR: test_implicit
(test_odr.TestODR)                                              
----------------------------------------------------------------------               

Traceback (most recent call
last):                                                   
  File
"/usr/local/lib/python2.6/dist-packages/scipy/odr/tests/test_odr.py",
line 88, in
test_implicit                                                                     

    out =
implicit_odr.run()                                                         
  File "/usr/local/lib/python2.6/dist-packages/scipy/odr/odrpack.py",
line 1055, in
run                                                                                    

    self.output = Output(apply(odr, args,
kwds))                                     
TypeError: y must be a sequence or integer (if model is
implicit)                    

======================================================================
FAIL: test_random_real (test_basic.TestSingleIFFT)                   
----------------------------------------------------------------------
Traceback (most recent call last):                                   
  File
"/usr/local/lib/python2.6/dist-packages/scipy/fftpack/tests/test_basic.py",
line 206, in
test_random_real                                                           
    assert_array_almost_equal (y2,
x)                                                
  File "/usr/local/lib/python2.6/dist-packages/numpy/testing/utils.py",
line 537, in
assert_array_almost_equal                                                             

    header='Arrays are not almost
equal')                                            
  File "/usr/local/lib/python2.6/dist-packages/numpy/testing/utils.py",
line 395, in
assert_array_compare                                                                  

    raise
AssertionError(msg)                                                        
AssertionError:                                                                      

Arrays are not almost
equal                                                          

(mismatch 0.900900900901%)
 x: array([ 0.90677679 +1.39698386e-08j,  0.28927034 +3.25962901e-09j,
        0.13077791 +6.23986125e-08j,  0.04575246 -2.03919583e-08j,   
        0.15793833 +2.15254765e-08j,  0.85683167 -1.69426109e-08j,...
 y: array([ 0.90677708,  0.28927055,  0.13077785,  0.04575244,  0.15793809,
        0.85683167,  0.8643328 ,  0.23614296,  0.59372395,  0.37073961,   
        0.30814797,  0.89584029,  0.00581159,  0.07267515,  0.77166247,...

======================================================================
FAIL: test_yn_zeros (test_basic.TestBessel)                          
----------------------------------------------------------------------
Traceback (most recent call last):                                   
  File
"/usr/local/lib/python2.6/dist-packages/scipy/special/tests/test_basic.py",
line 1602, in
test_yn_zeros                                                             
    488.98055964441374646],
rtol=1e-19)                                              
  File
"/usr/local/lib/python2.6/dist-packages/scipy/special/tests/test_basic.py",
line 38, in
assert_tol_equal                                                            

    verbose=verbose,
header=header)                                                  
  File "/usr/local/lib/python2.6/dist-packages/numpy/testing/utils.py",
line 395, in
assert_array_compare                                                                  

    raise
AssertionError(msg)                                                        
AssertionError:                                                                      

Not equal to tolerance rtol=1e-19,
atol=0                                            

(mismatch 100.0%)
 x: array([ 450.136,  463.057,  472.807,  481.274,  488.981])
 y: array([ 450.136,  463.057,  472.807,  481.274,  488.981])

======================================================================
FAIL: test_ynp_zeros (test_basic.TestBessel)                         
----------------------------------------------------------------------
Traceback (most recent call last):                                   
  File
"/usr/local/lib/python2.6/dist-packages/scipy/special/tests/test_basic.py",
line 1608, in
test_ynp_zeros                                                            
    assert_tol_equal(yvp(443, ao), 0,
atol=1e-15)                                    
  File
"/usr/local/lib/python2.6/dist-packages/scipy/special/tests/test_basic.py",
line 38, in
assert_tol_equal                                                            

    verbose=verbose,
header=header)                                                  
  File "/usr/local/lib/python2.6/dist-packages/numpy/testing/utils.py",
line 395, in
assert_array_compare                                                                  

    raise
AssertionError(msg)                                                        
AssertionError:                                                                      

Not equal to tolerance rtol=1e-07,
atol=1e-15                                        

(mismatch 100.0%)
 x: array([  1.239e-10,  -8.119e-16,   3.608e-16,   5.898e-16,   1.226e-15])
 y: array(0)                                                               

======================================================================
FAIL: test_yv_cephes_vs_amos (test_basic.TestBessel)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.6/dist-packages/scipy/special/tests/test_basic.py",
line 1668, in test_yv_cephes_vs_amos
    self.check_cephes_vs_amos(yv, yn, rtol=1e-11, atol=1e-305)
  File
"/usr/local/lib/python2.6/dist-packages/scipy/special/tests/test_basic.py",
line 1657, in check_cephes_vs_amos
    assert c2.imag != 0, (v, z)
AssertionError: (301, 1.0)

FAILED (KNOWNFAIL=2, SKIP=17, errors=1, failures=4)

SKIP=17 ? I'm not sure if it is normal or not.

Xavier, who really think that the testsuite is a key element of scipy.


More information about the Scipy-dev mailing list