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:
300
300
301
301
# By default, show-options will session scope, even if target is a window
302
302
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
304
304
305
305
if has_gte_version ("3.0" ):
306
306
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:
317
317
318
318
# By default, show-options will session scope, even if target is a window
319
319
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
321
321
322
322
if has_gte_version ("3.0" ):
323
323
assert window ._show_option ("main-pane-height" ) == 40
You can’t perform that action at this time.
0 commit comments