Skip to content

Commit

Permalink
swap branch for line in dtls
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert committed Dec 20, 2024
1 parent 84de11a commit 2484749
Showing 1 changed file with 1 addition and 1 deletion.
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
): # TODO: test this line
# 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 2484749

Please sign in to comment.