Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test failure on Debian #1261

josef-pkt opened this issue Dec 20, 2013 · 1 comment


None yet
1 participant
Copy link

commented Dec 20, 2013

possibly a precision problem for 0 == 0 at rtol=5e-10

FAIL: statsmodels.regression.tests.test_robustcov.TestOLSRobustHacLarge.test_tests
Traceback (most recent call last):
  File "/home/buildslave/nd-bb-slave-sparc-wheezy/statsmodels-py2_x-wheezy-sparc/build/venv/local/lib/python2.7/site-packages/nose/", line 197, in runTest
  File "/home/buildslave/nd-bb-slave-sparc-wheezy/statsmodels-py2_x-wheezy-sparc/build/venv/local/lib/python2.7/site-packages/statsmodels-0.6.0-py2.7-linux-sparc64.egg/statsmodels/regression/tests/", line 52, in test_tests
    assert_allclose(pval, res2.pvalues, rtol=5 * rtol)
  File "/home/buildslave/nd-bb-slave-sparc-wheezy/statsmodels-py2_x-wheezy-sparc/build/venv/local/lib/python2.7/site-packages/numpy/testing/", line 1181, in assert_allclose
    verbose=verbose, header=header)
  File "/home/buildslave/nd-bb-slave-sparc-wheezy/statsmodels-py2_x-wheezy-sparc/build/venv/local/lib/python2.7/site-packages/numpy/testing/", line 644, in assert_array_compare
    raise AssertionError(msg)
Not equal to tolerance rtol=5e-10, atol=0

(mismatch 100.0%)
 x: array([ 0.        ,  0.03651568,  0.        ])
 y: array([ 0.        ,  0.03651568,  0.        ])

This comment has been minimized.

Copy link
Member Author

commented Apr 20, 2014

fixed in #1607
one nipy Debian is green, in the other one pandas is too old

@josef-pkt josef-pkt closed this Apr 20, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.