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 @@ -299,7 +299,7 @@ def test_set_and_show_options(session: Session) -> None:
299299
300300 # By default, show-options will session scope, even if target is a window
301301 with pytest .raises (KeyError ):
302- assert window ._show_options ()["main-pane-height" ] == 40
302+ assert window ._show_options (scope = OptionScope . Session )["main-pane-height" ] == 40
303303
304304 if has_gte_version ("3.0" ):
305305 assert window ._show_option ("main-pane-height" ) == 40
Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ def test_set_and_show_window_options(session: Session) -> None:
316316
317317 # By default, show-options will session scope, even if target is a window
318318 with pytest .raises (KeyError ):
319- assert window ._show_options ()["main-pane-height" ] == 40
319+ assert window ._show_options (scope = OptionScope . Session )["main-pane-height" ] == 40
320320
321321 if has_gte_version ("3.0" ):
322322 assert window ._show_option ("main-pane-height" ) == 40
You can’t perform that action at this time.
0 commit comments