From 4a5f1d8577ee28ba060459df291d90bf4522d75b Mon Sep 17 00:00:00 2001 From: Ricky O'Steen Date: Wed, 11 Dec 2024 12:54:57 -0500 Subject: [PATCH] Allow larger rtol on new test --- jdaviz/configs/cubeviz/plugins/tests/test_parsers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdaviz/configs/cubeviz/plugins/tests/test_parsers.py b/jdaviz/configs/cubeviz/plugins/tests/test_parsers.py index 17cdd4967f..1f305b2742 100644 --- a/jdaviz/configs/cubeviz/plugins/tests/test_parsers.py +++ b/jdaviz/configs/cubeviz/plugins/tests/test_parsers.py @@ -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")