[SciPy-Dev] FAIL: test_expon (test_morestats.TestAnderson)
josef.pktd@gmai...
josef.pktd@gmai...
Wed Mar 16 17:10:11 CDT 2011
On Wed, Mar 16, 2011 at 4:14 PM, Nils Wagner
<nwagner@iam.uni-stuttgart.de> wrote:
> Is this a known issue ?
>>>> scipy.__version__
> '0.10.0.dev7179'
>
> ======================================================================
> FAIL: test_expon (test_morestats.TestAnderson)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/home/nwagner/local/lib64/python2.6/site-packages/scipy/stats/tests/test_morestats.py",
> line 72, in test_expon
> assert_array_less(crit[:-1], A)
> File
> "/home/nwagner/local/lib64/python2.6/site-packages/numpy/testing/utils.py",
> line 869, in assert_array_less
> header='Arrays are not less-ordered')
> File
> "/home/nwagner/local/lib64/python2.6/site-packages/numpy/testing/utils.py",
> line 613, in assert_array_compare
> chk_same_position(x_id, y_id, hasval='inf')
> File
> "/home/nwagner/local/lib64/python2.6/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)
looks suspicious, which numpy are you using?
Maybe this shows up now as a consequence of the assert fixes for inf in numpy
https://github.com/numpy/numpy/commit/45269ee1c906269bc3cd481f7ed94c8100e2b858
anderson is not fully tested, so there is no guarantee it`s not still
a mistake in it
Josef
>
>
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>
More information about the SciPy-Dev
mailing list