From 7e297ddfebc392dc404fcdf48b9566731316bcb1 Mon Sep 17 00:00:00 2001 From: Kyle Conroy Date: Fri, 13 Dec 2024 13:59:11 -0500 Subject: [PATCH] remove assert on initial limits --- .../cubeviz/plugins/tests/test_cubeviz_unit_conversion.py | 1 - 1 file changed, 1 deletion(-) diff --git a/jdaviz/configs/cubeviz/plugins/tests/test_cubeviz_unit_conversion.py b/jdaviz/configs/cubeviz/plugins/tests/test_cubeviz_unit_conversion.py index 790aa3b9bd..374c459ce1 100644 --- a/jdaviz/configs/cubeviz/plugins/tests/test_cubeviz_unit_conversion.py +++ b/jdaviz/configs/cubeviz/plugins/tests/test_cubeviz_unit_conversion.py @@ -376,7 +376,6 @@ def test_limits_on_unit_change(cubeviz_helper, start_unit, end_unit, uc_plg = cubeviz_helper.plugins['Unit Conversion'] sv = cubeviz_helper.viewers['spectrum-viewer'] - assert np.allclose(sv._obj.get_limits(), (4.622800069238093e-07, 7.76989251185206e-07, 90, 110)) sv.set_limits(x_min=5e-7, x_max=6e-7, y_min=100, y_max=105) uc_plg.flux_unit = end_unit