[SciPy-User] test failure on Scipy 0.9.0 installation

Scott Sinclair scott.sinclair.za@gmail....
Thu Oct 6 01:44:29 CDT 2011


On 5 October 2011 20:05, Woods, David M. Dr. <woodsdm2@muohio.edu> wrote:
>
>
> I just installed SciPy 0.9.0 with NumPy v 1.6.1 and Python 2.7.2.  Running
> scipy.test() reports one failure:
>
>
>
> ======================================================================
>
> FAIL: test_expon (test_morestats.TestAnderson)
>
> ----------------------------------------------------------------------
>
> Traceback (most recent call last):
>
>   File
> "/software/python/2.7.2/lib/python2.7/site-packages/scipy/stats/tests/test_morestats.py",
> line 72, in test_expon
>
>     assert_array_less(crit[:-1], A)
>
>   File
> "/software/python/2.7.2/lib/python2.7/site-packages/numpy/testing/utils.py",
> line 869, in assert_array_less
>
>     header='Arrays are not less-ordered')
>
>   File
> "/software/python/2.7.2/lib/python2.7/site-packages/numpy/testing/utils.py",
> line 613, in assert_array_compare
>
>     chk_same_position(x_id, y_id, hasval='inf')
>
>   File
> "/software/python/2.7.2/lib/python2.7/site-packages/numpy/testing/utils.py",
> line 588, in chk_same_position
>
>     raise AssertionError(msg)
>
> AssertionError:
>
> Arrays are not less-ordered
>
>
>
> x and y inf location mismatch:
>
> x: array([ 0.911,  1.065,  1.325,  1.587])
>
> y: array(inf)

This has been fixed,
https://github.com/scipy/scipy/commit/89c88431e648369d4a15b4fd4e762a28eb86abd8

I don't see the failure with scipy 0.10.0b2 built against numpy 1.6.1.

Cheers,
Scott


More information about the SciPy-User mailing list