diff --git a/tests/test_packet.py b/tests/test_packet.py index 8621301f8..3e7247d32 100644 --- a/tests/test_packet.py +++ b/tests/test_packet.py @@ -112,15 +112,12 @@ def test_pull_retry(self): self.assertEqual(buf.tell(), 125) # check integrity - if False: - self.assertEqual( - get_retry_integrity_tag( - buf.data_slice(0, 109), - original_destination_cid, - version=header.version, - ), - header.integrity_tag, - ) + self.assertEqual( + get_retry_integrity_tag( + buf.data_slice(0, 109), original_destination_cid, version=header.version + ), + header.integrity_tag, + ) # serialize encoded = encode_quic_retry( @@ -130,8 +127,6 @@ def test_pull_retry(self): original_destination_cid=original_destination_cid, retry_token=header.token, ) - with open("bob.bin", "wb") as fp: - fp.write(encoded) self.assertEqual(encoded, data) def test_pull_retry_draft_29(self):