Skip to content

Commit

Permalink
Allow larger residuals in tests for correct fitting class
Browse files Browse the repository at this point in the history
Python 3.9 and 3.10 behavior on the linearithmic test is a bit different
and they fit correctly but with high residuals
  • Loading branch information
pberkes committed Jul 21, 2023
1 parent 015641a commit f876b5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion big_o/test/test_big_o.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def test_big_o(self):

residuals = fitted[res_class]

if residuals > 5e-4:
if residuals > 5e-2:
if isinstance(res_class, class_):
err_msg = "(but test would have passed)"
else:
Expand Down

0 comments on commit f876b5b

Please sign in to comment.