test failure on Debian #1261

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

Projects

None yet

1 participant

@josef-pkt
Member

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
Member

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