diff --git a/astrowidgets/tests/widget_api_test.py b/astrowidgets/tests/widget_api_test.py index 4ae57f7..cb9834a 100644 --- a/astrowidgets/tests/widget_api_test.py +++ b/astrowidgets/tests/widget_api_test.py @@ -232,7 +232,7 @@ def test_click_drag(self): # If is_marking is true then trying to enable click_drag should fail self.image._is_marking = True self.image.click_drag = False - with pytest.raises(ValueError, match='Interactive marking'): + with pytest.raises(ValueError, match='[Ii]nteractive marking'): self.image.click_drag = True self.image._is_marking = False