File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ def test_set_and_show_options(session: Session) -> None:
300300
301301 # By default, show-options will session scope, even if target is a window
302302 with pytest .raises (KeyError ):
303- assert window ._show_options ()["main-pane-height" ] == 40
303+ assert window ._show_options (scope = OptionScope . Session )["main-pane-height" ] == 40
304304
305305 if has_gte_version ("3.0" ):
306306 assert window ._show_option ("main-pane-height" ) == 40
Original file line number Diff line number Diff line change @@ -317,7 +317,7 @@ def test_set_and_show_window_options(session: Session) -> None:
317317
318318 # By default, show-options will session scope, even if target is a window
319319 with pytest .raises (KeyError ):
320- assert window ._show_options ()["main-pane-height" ] == 40
320+ assert window ._show_options (scope = OptionScope . Session )["main-pane-height" ] == 40
321321
322322 if has_gte_version ("3.0" ):
323323 assert window ._show_option ("main-pane-height" ) == 40
You can’t perform that action at this time.
0 commit comments