From 38be1380410e89a474707b42c52d9b02ba75c6b6 Mon Sep 17 00:00:00 2001 From: Aperence Date: Wed, 13 Dec 2023 20:32:10 +0100 Subject: [PATCH] fixed typo + some coding style --- tests/test_recovery_cubic.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/test_recovery_cubic.py b/tests/test_recovery_cubic.py index 379a368b1..36b44f63e 100644 --- a/tests/test_recovery_cubic.py +++ b/tests/test_recovery_cubic.py @@ -231,7 +231,7 @@ def test_reno_friendly_region(self): cubic.ssthresh = 2880 cubic._t_epoch = 5 - # set an arbitrarly high W_est, + # set an arbitrarily high W_est, # meaning that cubic would underperform compared to reno cubic._W_est = 100000 @@ -359,7 +359,6 @@ def test_increasing_rtt(self): self.assertEqual(cubic.ssthresh, cubic.congestion_window) def test_increasing_rtt_exiting_slow_start(self): - packet = QuicSentPacket( epoch=tls.Epoch.ONE_RTT, in_flight=True, @@ -405,7 +404,6 @@ def test_increasing_rtt_exiting_slow_start(self): self.assertEqual(cubic.K, K) def test_packet_lost(self): - packet = QuicSentPacket( epoch=tls.Epoch.ONE_RTT, in_flight=True, @@ -465,7 +463,6 @@ def test_packet_lost(self): self.assertEqual(cubic.K, K) def test_lost_with_W_max(self): - packet = QuicSentPacket( epoch=tls.Epoch.ONE_RTT, in_flight=True,