[SciPy-dev] test failures in trunk in special

George Nurser gnurser@googlemail....
Sun Oct 25 03:53:39 CDT 2009


I still have a couple of problems here.
mac OS X 10.5.8, python 2.5.2 from python.org compiled with gcc4.0.1
numpy SVN v 7539
scipy SVN v  5997
(both compiled with Apple gcc 4.2.1)

======================================================================
FAIL: test_random_real (test_basic.TestSingleIFFT)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/fftpack/tests/test_basic.py",
line 205, in test_random_real
    assert_array_almost_equal (y1, x)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/testing/utils.py",
line 763, in assert_array_almost_equal
    header='Arrays are not almost equal')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/testing/utils.py",
line 607, in assert_array_compare
    raise AssertionError(msg)
AssertionError:
Arrays are not almost equal

(mismatch 0.900900900901%)
 x: array([ 0.42236230 +1.61093638e-09j,  0.29044548 -8.72590533e-09j,
        0.14066364 -4.29583018e-08j,  0.79427350 +8.41708481e-09j,
        0.23108852 -3.32202674e-08j,  0.85690206 +5.95867569e-08j,...
 y: array([ 0.42236236,  0.29044554,  0.14066353,  0.79427326,  0.23108847,
        0.85690218,  0.90094191,  0.51615924,  0.31402779,  0.94050783,
        0.43960547,  0.24419551,  0.80371237,  0.52694863,  0.48202211,...

======================================================================
FAIL: test_iv_cephes_vs_amos_mass_test (test_basic.TestBessel)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/special/tests/test_basic.py",
line 1714, in test_iv_cephes_vs_amos_mass_test
    assert dc[k] < 1e-9, (iv(v[k], x[k]), iv(v[k], x[k]+0j))
AssertionError: (1.8320048963545875e+306, (inf+0j))

--George

2009/10/20 Nils Wagner <nwagner@iam.uni-stuttgart.de>:
> On Tue, 20 Oct 2009 08:17:39 +0000 (UTC)
>  Pauli Virtanen <pav+sp@iki.fi> wrote:
>> Mon, 19 Oct 2009 23:13:43 +0200, Nils Wagner wrote:
>>>
>>> I can reproduce some failures on linux (opensuse 11.1)
>>
>> The test tolerances were a bit too tight. I relaxed them
>>slightly. Please
>> report again if you see more of these, thanks!
>>
>> --
>> Pauli Virtanen
>>
>
> Great !
>
> Ran 3868 tests in 93.999s
>
> OK (KNOWNFAIL=6, SKIP=17)
> <nose.result.TextTestResult run=3868 errors=0 failures=0>
>
> Nils
>
>> _______________________________________________
>> Scipy-dev mailing list
>> Scipy-dev@scipy.org
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>


More information about the Scipy-dev mailing list