Skip to content

Commit

Permalink
Allow larger rtol on new test
Browse files Browse the repository at this point in the history
  • Loading branch information
rosteen committed Dec 16, 2024
1 parent 42d1c3a commit 4a5f1d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jdaviz/configs/cubeviz/plugins/tests/test_parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def test_manga_cube(cubeviz_helper):
se.function = "Mean"
se.extract()
extracted_max = cubeviz_helper.get_data("Spectrum (mean)").max()
assert_allclose(extracted_max.value, 2.836957E-18)
assert_allclose(extracted_max.value, 2.836957E-18, rtol=1E-5)
assert extracted_max.unit == u.Unit("erg / Angstrom s cm**2 pix**2")


Expand Down

0 comments on commit 4a5f1d8

Please sign in to comment.