From 2b9e9b5edbfefc9e3fd5c2de972fb7d75b0b678d Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Tue, 12 Mar 2024 15:55:22 -0400 Subject: [PATCH] TST: Allow test to fail to expose bug --- jdaviz/configs/imviz/tests/test_orientation.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/jdaviz/configs/imviz/tests/test_orientation.py b/jdaviz/configs/imviz/tests/test_orientation.py index ac05c32477..612b754c8f 100644 --- a/jdaviz/configs/imviz/tests/test_orientation.py +++ b/jdaviz/configs/imviz/tests/test_orientation.py @@ -141,12 +141,9 @@ def test_N_up_multi_viewer(self): assert self.viewer.state.reference_data.label == "has_wcs_1[SCI,1]" assert viewer_2.state.reference_data.label == "has_wcs_1[SCI,1]" - # FIXME: spacetelescope/jdaviz#2724 (remove AssertionError) lc_plugin.link_type = 'WCS' - with pytest.raises(AssertionError): - assert self.viewer.state.reference_data.label == "Default orientation" - with pytest.raises(AssertionError): - assert viewer_2.state.reference_data.label == "Default orientation" + assert self.viewer.state.reference_data.label == "Default orientation" + assert viewer_2.state.reference_data.label == "Default orientation" def test_custom_orientation(self): lc_plugin = self.imviz.plugins['Orientation']