From 2484749c82ec256877202c81f2993651ed79251a Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Fri, 20 Dec 2024 20:57:46 +0000 Subject: [PATCH] swap branch for line in dtls --- src/trio/_dtls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trio/_dtls.py b/src/trio/_dtls.py index 54dcd178b..a7709632a 100644 --- a/src/trio/_dtls.py +++ b/src/trio/_dtls.py @@ -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