Commit 2787185
committed
tests: mark unreachable zero-iteration branch in POLLHUP monitor loop
The while loop at line 144 always executes at least once — POLLHUP fires
after the write end is closed, not before. The zero-iteration branch
(condition False on first check) is structurally unreachable in this test
but triggers a coverage miss under branch coverage.
Mark with pragma: no branch, consistent with the pattern used elsewhere
in the test suite (e.g. test_notification_response.py).1 parent c8b9983 commit 2787185
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
0 commit comments