Skip to content

Commit

Permalink
higher tolerance in test_issue_564
Browse files Browse the repository at this point in the history
  • Loading branch information
wingechr committed Sep 17, 2024
1 parent 14b223f commit cf11875
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_opt.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,8 @@ def test_issue_564(network_green_iron, api):
# assert that differences between costs and opt tab are zero:
# this currently fails
for i in res_costs_agg["diff"]:
assert i == pytest.approx(0, abs=1e-6)
# higher tolerance (1.0) because not exacly equal
assert i == pytest.approx(0, abs=1.0)


def test_fix_green_iron(network_green_iron):
Expand Down

0 comments on commit cf11875

Please sign in to comment.