Skip to content

Commit

Permalink
Make warning message checks more flexible
Browse files Browse the repository at this point in the history
  • Loading branch information
mwcraig committed Aug 27, 2021
1 parent 69d16b9 commit 2e71707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astrowidgets/tests/widget_api_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2e71707

Please sign in to comment.