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

Graham Inggs ginggs at debian.org
Sun Sep 17 07:38:08 UTC 2017


Ignoring the test failures during the build has also allowed the i386
failure of test_orthogonal.test_j_roots in 0.18.1 to propagate, and
most recently, the failure of test_orthogonal.test_roots_jacobi in
0.19.1 (presumably the same test renamed):


======================================================================
FAIL: test_orthogonal.test_roots_jacobi
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/<<PKGBUILDDIR>>/debian/python3-scipy/usr/lib/python3/dist-packages/scipy/special/tests/test_orthogonal.py",
line 321, in test_roots_jacobi
    vgq(rf(0.9, 2), ef(0.9, 2), wf(0.9, 2), -1., 1., 100, atol=2e-13)
  File "/<<PKGBUILDDIR>>/debian/python3-scipy/usr/lib/python3/dist-packages/scipy/special/tests/test_orthogonal.py",
line 287, in verify_gauss_quad
    assert_allclose(vv, np.eye(N), rtol, atol)
  File "/usr/lib/python3/dist-packages/numpy/testing/utils.py", line
1395, in assert_allclose
    verbose=verbose, header=header, equal_nan=equal_nan)
  File "/usr/lib/python3/dist-packages/numpy/testing/utils.py", line
778, in assert_array_compare
    raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1e-15, atol=2e-13

(mismatch 0.37999999999999545%)
 x: array([[  1.000000e+00,   3.099016e-16,  -1.339924e-15, ...,
          1.060805e-16,   7.590133e-16,  -4.425680e-17],
       [  3.055861e-16,   1.000000e+00,   5.293052e-16, ...,...
 y: array([[ 1.,  0.,  0., ...,  0.,  0.,  0.],
       [ 0.,  1.,  0., ...,  0.,  0.,  0.],
       [ 0.,  0.,  1., ...,  0.,  0.,  0.],...

----------------------------------------------------------------------
Ran 24210 tests in 389.473s

FAILED (KNOWNFAIL=92, SKIP=1923, failures=1)
Running unit tests for scipy
NumPy version 1.13.1
NumPy relaxed strides checking option: True
NumPy is installed in /usr/lib/python3/dist-packages/numpy
SciPy version 0.19.1
SciPy is installed in
/<<PKGBUILDDIR>>/debian/python3-scipy/usr/lib/python3/dist-packages/scipy
Python version 3.6.2 (default, Sep  5 2017, 20:23:28) [GCC 7.2.0]
nose version 1.3.7
Optimization terminated successfully.    (Exit mode 0)
            Current function value: 0.0
            Iterations: 1
            Function evaluations: 5
            Gradient evaluations: 1
failed: test_orthogonal.test_roots_jacobi
#errors: 1



More information about the Python-modules-team mailing list