Skip to content

Commit

Permalink
TST: Relax assert tests for Win32
Browse files Browse the repository at this point in the history
Slightly relax test checks for Win32
  • Loading branch information
bashtage committed Aug 20, 2018
1 parent c2c2369 commit 4483830
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion statsmodels/regression/tests/test_recursive_ls.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def test_glm(constraints=None):

# Regression coefficients, standard errors, and estimated scale
assert_allclose(res.params, res_glm.params)
assert_allclose(res.bse, res_glm.bse)
assert_allclose(res.bse, res_glm.bse, atol=1e-6)
# Note: scale here is computed according to Harvey, 1989, 4.2.5, and is
# the called the ML estimator and sometimes (e.g. later in section 5)
# denoted \tilde \sigma_*^2
Expand Down
2 changes: 1 addition & 1 deletion statsmodels/stats/tests/test_influence.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def test_basics(self):
rtol=1e-12)

assert_allclose(infl0.resid_studentized,
infl1.resid_studentized, rtol=1e-12)
infl1.resid_studentized, rtol=1e-12, atol=1e-7)

cd_rtol = getattr(self, 'cd_rtol', 1e-7)
assert_allclose(infl0.cooks_distance[0], infl1.cooks_distance[0],
Expand Down

0 comments on commit 4483830

Please sign in to comment.