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

Robert Kern rkern at ucsd.edu
Tue Jun 21 15:35:14 CDT 2005


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 at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter




More information about the Scipy-dev mailing list