Skip to content

Commit

Permalink
Merge pull request #135 from brittonsmith/test
Browse files Browse the repository at this point in the history
Temporarily loosen rtol for testing.
  • Loading branch information
brittonsmith committed Jan 31, 2023
2 parents 8226ca4 + 21d559b commit 54c29f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,5 @@ def test_examples(example_path, primordial_chemistry, metal_cooling):
ad_new = ds_new.data

for field_name in ds_old.field_list:
assert_allclose(ad_old[field_name].v, ad_new[field_name].v,
assert_allclose(ad_old[field_name].v, ad_new[field_name].v, rtol=1e-6,
err_msg=f"Field mismatch: {str(field_name)}.")

0 comments on commit 54c29f9

Please sign in to comment.