Skip to content

Commit

Permalink
test(builder): Remove unused loop variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Apr 6, 2024
1 parent e724778 commit 9276ebb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/workspace/test_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,8 @@ def test_window_options(
window_count = len(session.windows) # current window count
assert len(session.windows) == window_count
for w, wconf in builder.iter_create_windows(session):
for p in builder.iter_create_panes(w, wconf):
for _ in builder.iter_create_panes(w, wconf):
w.select_layout("tiled") # fix glitch with pane size
p = p
assert len(session.windows) == window_count
assert isinstance(w, Window)
assert w._show_option("main-pane-height") == 5
Expand Down

0 comments on commit 9276ebb

Please sign in to comment.