Current errors in scipy.test(1,verbosity=10)

Hi all, I get two errors and 1 failure running scipy.test(1,verbosity=10) with latest cvs (scipy, Numerical and f2py) ====================================================================== ERROR: check_definition (scipy.fftpack.basic.test_basic.test_fftn) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/scipy/fftpack/tests/test_basic.py", line 423, in check_definition assert_array_almost_equal(fftn(x),direct_dftn(x)) File "/usr/local/lib/python2.4/site-packages/scipy/fftpack/basic.py", line 283, in fftn return _raw_fftnd(tmp,shape,axes,1,overwrite_x,work_function) File "/usr/local/lib/python2.4/site-packages/scipy/fftpack/basic.py", line 219, in _raw_fftnd return work_function(x,s,direction,overwrite_x=overwrite_x) error: failed in converting 1st argument `x' of _fftpack.zfftnd to C/Fortran array ====================================================================== ERROR: check_definition (scipy.fftpack.basic.test_basic.test_ifftn) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/scipy/fftpack/tests/test_basic.py", line 590, in check_definition assert_array_almost_equal(ifftn(x),direct_idftn(x)) File "/usr/local/lib/python2.4/site-packages/scipy/fftpack/basic.py", line 312, in ifftn return _raw_fftnd(tmp,shape,axes,-1,overwrite_x,work_function) File "/usr/local/lib/python2.4/site-packages/scipy/fftpack/basic.py", line 219, in _raw_fftnd return work_function(x,s,direction,overwrite_x=overwrite_x) error: failed in converting 1st argument `x' of _fftpack.zfftnd to C/Fortran array ====================================================================== FAIL: check_round (scipy.special.basic.test_basic.test_round) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/scipy/special/tests/test_basic.py", line 1789, in check_round assert_array_equal(rnd,rndrl) File "/usr/local/lib/python2.4/site-packages/scipy_test/testing.py", line 715, in assert_array_equal assert cond,\ AssertionError: Arrays are not equal (mismatch 25.0%): Array 1: [10 10 11 11] Array 2: [10 10 10 11] ---------------------------------------------------------------------- Ran 1265 tests in 7.131s FAILED (failures=1, errors=2) <unittest.TextTestRunner object at 0x4195374c Nils

Nils Wagner wrote:
====================================================================== FAIL: check_round (scipy.special.basic.test_basic.test_round) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/scipy/special/tests/test_basic.py", line 1789, in check_round assert_array_equal(rnd,rndrl) File "/usr/local/lib/python2.4/site-packages/scipy_test/testing.py", line 715, in assert_array_equal assert cond,\ AssertionError: Arrays are not equal (mismatch 25.0%): Array 1: [10 10 11 11] Array 2: [10 10 10 11]
This is irksome. Can you tell me if this is the same on Linux: In [4]: scipy.special.round is scipy.special.cephes.round Out[4]: True There seem to be two tests in test_basic.py, one for special.cephes.round() and this one for just special.round(). Both tests now expect x.5-rounds-to-nearest-even, but this one is the only one that's failing on Linux. -- Robert Kern rkern@ucsd.edu "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter
participants (2)
-
Nils Wagner
-
Robert Kern