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

2017-09-17 Thread Graham Inggs
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 
"/<>/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 
"/<>/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.37545%)
 x: array([[  1.00e+00,   3.099016e-16,  -1.339924e-15, ...,
  1.060805e-16,   7.590133e-16,  -4.425680e-17],
   [  3.055861e-16,   1.00e+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
/<>/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

___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team


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

2014-08-13 Thread Matthias Klose
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

___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team