[Python-modules-team] Bug#758022: test_interpolate.TestPPoly.test_roots test fails on i386

Matthias Klose doko at debian.org
Wed Aug 13 12:29:31 UTC 2014


Package: python-scipy
Version: 0.14.0-1
Severity: important

this test fails when the package is rebuilt on today's sid.  The error then is
ignored during the test build, however it fails hard in the autopkg test.

======================================================================
FAIL: test_roots (test_interpolate.TestPPoly)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/scratch/packages/python-scipy-0.14.0/debian/python-scipy/usr/lib/python2.7/dist-packages
/scipy/interpolate/tests/test_interpolate.py", line 749, in test_roots
    assert_allclose(r, sproot(spl), atol=1e-15)
  File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 1183, in
assert_allclose
    verbose=verbose, header=header)
  File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 599, in
assert_array_compa
re
    raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1e-07, atol=1e-15

(shapes (9,), (10,) mismatch)
 x: array([ 0.1047157 ,  0.20941655,  0.31410118,  0.41890546,  0.52334966,
        0.62790802,  0.73244579,  0.83763035,  0.94434654])
 y: array([  1.57758919e-19,   1.04715696e-01,   2.09416552e-01,
         3.14101183e-01,   4.18905456e-01,   5.23349664e-01,
         6.27908024e-01,   7.32445794e-01,   8.37630351e-01,
         9.44346543e-01])

----------------------------------------------------------------------
Ran 16583 tests in 124.158s

FAILED (KNOWNFAIL=277, SKIP=1177, failures=1)
Running unit tests for scipy
NumPy version 1.8.1
NumPy is installed in /usr/lib/python2.7/dist-packages/numpy
SciPy version 0.14.0
SciPy is installed in
/scratch/packages/python-scipy-0.14.0/debian/python-scipy/usr/lib/python2.7/dist-packages/scipy
Python version 2.7.8 (default, Aug 10 2014, 12:56:47) [GCC 4.9.1]
nose version 1.3.3
failed: test_interpolate.TestPPoly.test_roots
#errors: 1



More information about the Python-modules-team mailing list