Skip to content

Commit

Permalink
Use allclose everywhere.
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterKraus committed Jun 8, 2024
1 parent 7a86133 commit 6ebd5a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_eclab_mpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def test_eclab_mpt(infile, datadir):
print(f"{ret=}")
with open(outfile, "wb") as out:
pickle.dump(ret, out, 5)
xr.testing.assert_equal(ret, ref)
xr.testing.assert_allclose(ret, ref)


@pytest.mark.parametrize(
Expand Down
2 changes: 1 addition & 1 deletion tests/test_picolog_tc08.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ def test_picolog_tc08(infile, datadir):
print(f"{ret=}")
with open(outfile, "wb") as out:
pickle.dump(ret, out, 5)
xr.testing.assert_equal(ret, ref)
xr.testing.assert_allclose(ret, ref)

0 comments on commit 6ebd5a4

Please sign in to comment.