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

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

Comments

Projects
None yet
1 participant
@josef-pkt
Copy link
Member

commented Dec 20, 2013

http://nipy.bic.berkeley.edu/builders/statsmodels-py2.x-wheezy-sparc/builds/68/steps/shell_4/logs/stdio

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/case.py", line 197, in runTest
    self.test(*self.arg)
  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/test_robustcov.py", 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/utils.py", 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/utils.py", line 644, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Not equal to tolerance rtol=5e-10, atol=0

(mismatch 100.0%)
 x: array([ 0.        ,  0.03651568,  0.        ])
 y: array([ 0.        ,  0.03651568,  0.        ])
@josef-pkt

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.