diff --git a/jdaviz/configs/default/plugins/data_quality/tests/test_data_quality.py b/jdaviz/configs/default/plugins/data_quality/tests/test_data_quality.py index b63c87a344..13b9f5dacc 100644 --- a/jdaviz/configs/default/plugins/data_quality/tests/test_data_quality.py +++ b/jdaviz/configs/default/plugins/data_quality/tests/test_data_quality.py @@ -145,7 +145,7 @@ def test_data_quality_plugin(imviz_helper, tmp_path): label_mouseover._viewer_mouse_event(viewer, {'event': 'mousemove', 'domain': {'x': 1371, 'y': 715}}) label_mouseover_text = label_mouseover.as_text()[0] - assert label_mouseover_text.split('+')[1] == '2.94744e-01 MJy/sr (DQ: 4)' + assert label_mouseover_text.split('+')[1].endswith('(DQ: 4)') # check that a pixel without a DQ flag has no DQ mouseover label: label_mouseover._viewer_mouse_event(viewer,