Skip to content

Commit 5ba9e24

Browse files
committed
relax test
1 parent 59a5bbb commit 5ba9e24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/polynomial/tests/test_polynomial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,6 @@ def test_fit_degenerate_domain(self):
633633
p = poly.Polynomial.fit([1], [2], deg=0)
634634
assert_equal(p.coef, [2.])
635635
p = poly.Polynomial.fit([1, 1], [2, 2.1], deg=0)
636-
assert_equal(p.coef, [2.05])
636+
assert_almost_equal(p.coef, [2.05])
637637
with assert_warns(pu.RankWarning):
638638
p = poly.Polynomial.fit([1, 1], [2, 2.1], deg=1)

0 commit comments

Comments
 (0)