[SciPy-dev] FAIL: test_yn_zeros, test_ynp_zeros, Negative-order Bessels

Nils Wagner nwagner@iam.uni-stuttgart...
Sun Jan 25 13:03:26 CST 2009


Hi all,

I do get three failures wrt. to special functions and 
python2.6

======================================================================
FAIL: test_yn_zeros (test_basic.TestBessel)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/scipy/special/tests/test_basic.py", 
line 1598, in test_yn_zeros
     488.98055964441374646], rtol=1e-19)
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/scipy/special/tests/test_basic.py", 
line 38, in assert_tol_equal
     verbose=verbose, header=header)
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/numpy/testing/utils.py", 
line 295, 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 
"/home/nwagner/local/lib64/python2.6/site-packages/scipy/special/tests/test_basic.py", 
line 1604, in test_ynp_zeros
     assert_tol_equal(yvp(443, ao), 0, atol=1e-15)
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/scipy/special/tests/test_basic.py", 
line 38, in assert_tol_equal
     verbose=verbose, header=header)
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/numpy/testing/utils.py", 
line 295, 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: Negative-order Bessels
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/nose-0.10.4-py2.6.egg/nose/case.py", 
line 182, in runTest
     self.test(*self.arg)
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/scipy/special/tests/test_basic.py", 
line 1665, in test_ticket_853
     assert_tol_equal(iv(-0.5, 1   ), 1.231200214592967)
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/scipy/special/tests/test_basic.py", 
line 38, in assert_tol_equal
     verbose=verbose, header=header)
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/numpy/testing/utils.py", 
line 295, in assert_array_compare
     raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1e-07, atol=0

(mismatch 100.0%)
  x: array(0.0)
  y: array(1.231200214592967)

Nils


More information about the Scipy-dev mailing list