Skip to content

Commit 431f2ed

Browse files
committed
more TODO comments
1 parent dcfe01a commit 431f2ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/trio/_core/_io_kqueue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def get_events(self, timeout: float) -> EventResult:
8181
events += batch
8282
if len(batch) < max_events:
8383
break
84-
else:
84+
else: # TODO: test this line
8585
timeout = 0
8686
# and loop back to the start
8787
return events

src/trio/_dtls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,7 @@ def read_volley() -> list[_AnyHandshakeMessage]:
10391039
if (
10401040
isinstance(maybe_volley[0], PseudoHandshakeMessage)
10411041
and maybe_volley[0].content_type == ContentType.alert
1042-
):
1042+
): # TODO: test this branch
10431043
# we're sending an alert (e.g. due to a corrupted
10441044
# packet). We want to send it once, but don't save it to
10451045
# retransmit -- keep the last volley as the current

0 commit comments

Comments
 (0)