Skip to content

Commit

Permalink
more TODO comments
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert committed Dec 20, 2024
1 parent dcfe01a commit 431f2ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/trio/_core/_io_kqueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def get_events(self, timeout: float) -> EventResult:
events += batch
if len(batch) < max_events:
break
else:
else: # TODO: test this line
timeout = 0
# and loop back to the start
return events
Expand Down
2 changes: 1 addition & 1 deletion src/trio/_dtls.py
Original file line number Diff line number Diff line change
Expand Up @@ -1039,7 +1039,7 @@ def read_volley() -> list[_AnyHandshakeMessage]:
if (
isinstance(maybe_volley[0], PseudoHandshakeMessage)
and maybe_volley[0].content_type == ContentType.alert
):
): # TODO: test this branch
# we're sending an alert (e.g. due to a corrupted
# packet). We want to send it once, but don't save it to
# retransmit -- keep the last volley as the current
Expand Down

0 comments on commit 431f2ed

Please sign in to comment.