Skip to content

Commit 2a3727c

Browse files
authored
Merge pull request statsmodels#8875 from bashtage/pip-pre-relax-tol
TST: Relax tolerance on overly tight test
2 parents b344096 + 5c5298d commit 2a3727c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

statsmodels/robust/tests/test_norms.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def test_norms_consistent(case):
8484
psi_deriv = norm.psi_deriv(x)
8585

8686
# check location and u-shape of rho
87-
assert rho[4] == 0
87+
assert_allclose(rho[4], 0, atol=1e-12)
8888
assert np.all(np.diff(rho[4:]) >= 0)
8989
assert np.all(np.diff(rho[:4]) <= 0)
9090

0 commit comments

Comments
 (0)