File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
src/astro_image_display_api Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -323,29 +323,21 @@ def test_click_drag(self):
323323
324324 # If is_marking is true then trying to enable click_drag should fail
325325 self .image .click_drag = False
326- self .image .start_marking ()
327- with pytest .raises (ValueError , match = r'([Ii]nteractive marking)|(while in marking mode)|(while marking is active)' ):
328- self .image .click_drag = True
329- self .image .stop_marking ()
330326
331327 def test_click_center (self ):
332328 # Set this to ensure that click_center turns it off
333329 self .image .click_drag = True
334330
335331 # Make sure that setting click_center to False does not turn off
336- # click_draf .
332+ # click_drag .
337333 self .image .click_center = False
338334 assert self .image .click_drag
339335
340336 self .image .click_center = True
341337 assert not self .image .click_drag
342338
343339 self .image .click_center = False
344- # If is_marking is true then trying to enable click_center should fail
345- self .image .start_marking ()
346- with pytest .raises (ValueError , match = r'([Ii]nteractive marking)|(while marking is active)' ):
347- self .image .click_center = True
348- self .image .stop_marking ()
340+
349341
350342 def test_scroll_pan (self ):
351343 # Make sure scroll_pan is actually settable
You can’t perform that action at this time.
0 commit comments