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 @@ -304,7 +304,7 @@ def test_set_and_show_options(session: Session) -> None:
304304
305305 # By default, show-options will session scope, even if target is a window
306306 with pytest .raises (KeyError ):
307- assert window ._show_options ()["main-pane-height" ] == 40
307+ assert window ._show_options (scope = OptionScope . Session )["main-pane-height" ] == 40
308308
309309 if has_gte_version ("3.0" ):
310310 assert window ._show_option ("main-pane-height" ) == 40
Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ def test_set_and_show_window_options(session: Session) -> None:
341341
342342 # By default, show-options will session scope, even if target is a window
343343 with pytest .raises (KeyError ):
344- assert window ._show_options ()["main-pane-height" ] == 40
344+ assert window ._show_options (scope = OptionScope . Session )["main-pane-height" ] == 40
345345
346346 if has_gte_version ("3.0" ):
347347 assert window ._show_option ("main-pane-height" ) == 40
You can’t perform that action at this time.
0 commit comments