[SciPy-Dev] Current test errors/failures with upcoming 1.9.
Julian Taylor
jtaylor.debian at googlemail.com
Mon May 5 13:53:52 EDT 2014
On 05.05.2014 19:49, Charles R Harris wrote:
> This is after the reversion to fix a long standing test failure. The
> first error is new to me, the second is the flaky qhull test, and the
> third looks like a precision problem.
the first two issues are unrelated to numpy.
the first is a know issue which seems to appear with newer distributions:
https://github.com/scipy/scipy/issues/2911
the issue states 32 bit only, but now I can also reproduce it in 64 bit.
Likely compiler optimization changes.
the second is also known and very old, can't find an issue but I know
its happens on 32 bit since quite a while
>
>
> ======================================================================
> ERROR: test_fitpack.TestSplder.test_kink
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
> self.test(*self.arg)
> File
> "/home/charris/.local/lib/python2.7/site-packages/scipy/interpolate/tests/test_fitpack.py",
> line 329, in test_kink
> splder(spl2, 2) # Should work
> File
> "/home/charris/.local/lib/python2.7/site-packages/scipy/interpolate/fitpack.py",
> line 1198, in splder
> "and is not differentiable %d times") % n)
> ValueError: The spline has internal repeated knots and is not
> differentiable 2 times
>
> ======================================================================
> FAIL: test_qhull.TestUtilities.test_degenerate_barycentric_transforms
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
> self.test(*self.arg)
> File
> "/home/charris/.local/lib/python2.7/site-packages/numpy/testing/decorators.py",
> line 146, in skipper_func
> return f(*args, **kwargs)
> File
> "/home/charris/.local/lib/python2.7/site-packages/scipy/spatial/tests/test_qhull.py",
> line 296, in test_degenerate_barycentric_transforms
> assert_(bad_count < 20, bad_count)
> File
> "/home/charris/.local/lib/python2.7/site-packages/numpy/testing/utils.py",
> line 50, in assert_
> raise AssertionError(smsg)
> AssertionError: 20
>
> ======================================================================
> FAIL: test_skewtest (test_mstats_basic.TestCompareWithStats)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/home/charris/.local/lib/python2.7/site-packages/scipy/stats/tests/test_mstats_basic.py",
> line 972, in test_skewtest
> assert_equal(r[0], rm[0])
> File
> "/home/charris/.local/lib/python2.7/site-packages/numpy/ma/testutils.py", line
> 100, in assert_equal
> raise AssertionError(msg)
> AssertionError:
> Items are not equal:
> ACTUAL: 0.86656913902327259
> DESIRED: 0.86656913902327182
>
> ----------------------------------------------------------------------
> Ran 16601 tests in 106.443s
>
> FAILED (KNOWNFAIL=277, SKIP=903, errors=1, failures=2)
>
> Chuck
>
>
>
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>
More information about the SciPy-Dev
mailing list