[SciPy-dev] Current errors in scipy.test(1,verbosity=10)

Nils Wagner nwagner at mecha.uni-stuttgart.de
Tue Jun 21 07:15:53 CDT 2005


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





More information about the Scipy-dev mailing list