From 9276ebbe2b961d77e58e75e7c4e5100244d2ebb7 Mon Sep 17 00:00:00 2001 From: Tony Narlock Date: Sat, 6 Apr 2024 12:07:37 -0500 Subject: [PATCH] test(builder): Remove unused loop variable --- tests/workspace/test_builder.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/workspace/test_builder.py b/tests/workspace/test_builder.py index e63f3c6697..2598c0fac0 100644 --- a/tests/workspace/test_builder.py +++ b/tests/workspace/test_builder.py @@ -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