Skip to content

Commit

Permalink
TST: Adjust appveyor tolerance
Browse files Browse the repository at this point in the history
Re-enable xdist
Small adjustment for windows testing
  • Loading branch information
bashtage committed Aug 20, 2018
1 parent 4483830 commit a3d869d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ script:
- if [ ${DOCBUILD} = true ]; then cd ${SRCDIR}/docs; source ${SRCDIR}/tools/ci/docbuild.sh; exit 0; fi;
# Run tests
- echo pytest -n 2 ${COVERAGE_OPTS} statsmodels --skip-examples
- pytest ${COVERAGE_OPTS} statsmodels --skip-examples
- pytest -n 2 -r s ${COVERAGE_OPTS} statsmodels --skip-examples
- ./lint.sh

after_success:
Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ build_script:
- python setup.py develop

test_script:
# Remove xdist (-n auto) until warning reporting is working
- pytest statsmodels
# Remove xdist until warning reporting is working
- pytest -n auto -r s statsmodels --skip-examples
2 changes: 1 addition & 1 deletion statsmodels/stats/tests/test_influence.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a3d869d

Please sign in to comment.