Commit 4613a05
committed
ruff(test_window) Fix nits
tests/legacy_api/test_window.py:70:34: RUF040 Non-string literal used as assert message
|
68 | # len(session.attached_window.panes))
69 |
70 | assert len(session.windows), 1
| ^ RUF040
71 | assert len(session.attached_window.panes) == 1
72 | for w in session.windows:
|
tests/test_window.py:76:34: RUF040 Non-string literal used as assert message
|
74 | # len(session.active_window.panes))
75 |
76 | assert len(session.windows), 1
| ^ RUF040
77 | assert len(session.active_window.panes) == 1
78 | for w in session.windows:
| Found 2 errors.
72 files left unchanged1 parent 0effb1f commit 4613a05
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
0 commit comments