From 72cb33b13ed837db262d7d5a3427aeeafdbc5687 Mon Sep 17 00:00:00 2001 From: Kevin Sheppard Date: Thu, 16 Aug 2018 10:15:20 +0100 Subject: [PATCH] TST: Adjust appveyor tolerance Re-enable xdist Small adjustment for windows testing closes #4635 closes #4638 closes #4651 closes #4654 closes #3207 closes #3195 closes #3977 --- appveyor.yml | 3 ++- statsmodels/stats/tests/test_influence.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 7ccbe25ea7c..84abad663f3 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -34,4 +34,5 @@ build_script: - python setup.py develop test_script: - - pytest -n 2 -r a statsmodels + # Remove xdist until warning reporting is working + - pytest -n auto -r s statsmodels --skip-examples diff --git a/statsmodels/stats/tests/test_influence.py b/statsmodels/stats/tests/test_influence.py index 4d86f239e46..6f27398f45b 100644 --- a/statsmodels/stats/tests/test_influence.py +++ b/statsmodels/stats/tests/test_influence.py @@ -243,7 +243,7 @@ def test_basics(self): assert_allclose(infl0.hat_matrix_diag, infl1.hat_matrix_diag, rtol=1e-12) assert_allclose(infl0.resid_studentized, - infl1.resid_studentized, rtol=1e-12) + infl1.resid_studentized, rtol=1e-12, atol=1e-7) assert_allclose(infl0.cooks_distance, infl1.cooks_distance, rtol=1e-7) assert_allclose(infl0.dfbetas, infl1.dfbetas, rtol=0.1) # changed # OLSInfluence only has looo dfbeta/d_params