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:
304
304
305
305
# By default, show-options will session scope, even if target is a window
306
306
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
308
308
309
309
if has_gte_version ("3.0" ):
310
310
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:
341
341
342
342
# By default, show-options will session scope, even if target is a window
343
343
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
345
345
346
346
if has_gte_version ("3.0" ):
347
347
assert window ._show_option ("main-pane-height" ) == 40
You can’t perform that action at this time.
0 commit comments