Skip to content

Commit 5c5298d

Browse files
committed
TST: Relax tolerance on overly tight test
1 parent b344096 commit 5c5298d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

statsmodels/robust/tests/test_norms.py

Lines changed: 1 addition & 1 deletion
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)