Skip to content

Commit

Permalink
Use pytest.approx for dict comparison to test on other architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Oct 2, 2023
1 parent 780a86b commit 4f428f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mc_optimade/tests/test_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def test_convert_example_archives(archive_path, tmp_path):
species, key=lambda x: x["name"]
)

assert next_entry == first_entry
assert next_entry == pytest.approx(first_entry)


def test_decompress_bz2(tmp_path):
Expand Down

0 comments on commit 4f428f6

Please sign in to comment.