We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b344096 + 5c5298d commit 2a3727cCopy full SHA for 2a3727c
statsmodels/robust/tests/test_norms.py
@@ -84,7 +84,7 @@ def test_norms_consistent(case):
84
psi_deriv = norm.psi_deriv(x)
85
86
# check location and u-shape of rho
87
- assert rho[4] == 0
+ assert_allclose(rho[4], 0, atol=1e-12)
88
assert np.all(np.diff(rho[4:]) >= 0)
89
assert np.all(np.diff(rho[:4]) <= 0)
90
0 commit comments