Skip to content

Commit

Permalink
Perhaps _equal is too optimistic
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterKraus committed Jun 8, 2024
1 parent 8ede729 commit 7a86133
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_mpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ def test_eclab_mpr(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)
2 changes: 1 addition & 1 deletion tests/test_eclab_mpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def test_eclab_mpt_locale(afile, bfile, datadir):
kwargs = dict(timezone="Europe/Berlin", encoding="windows-1252")
aret = extract(fn=afile, locale="en_US", **kwargs)
bret = extract(fn=bfile, locale="de_DE", **kwargs)
xr.testing.assert_equal(aret, bret)
xr.testing.assert_allclose(aret, bret)


@pytest.mark.parametrize(
Expand Down

0 comments on commit 7a86133

Please sign in to comment.