Skip to content

Commit 2e71707

Browse files
committed
Make warning message checks more flexible
1 parent 69d16b9 commit 2e71707

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astrowidgets/tests/widget_api_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def test_click_drag(self):
232232
# If is_marking is true then trying to enable click_drag should fail
233233
self.image._is_marking = True
234234
self.image.click_drag = False
235-
with pytest.raises(ValueError, match='Interactive marking'):
235+
with pytest.raises(ValueError, match='[Ii]nteractive marking'):
236236
self.image.click_drag = True
237237
self.image._is_marking = False
238238

0 commit comments

Comments
 (0)