Skip to content

Commit

Permalink
fixed typo + some coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
Aperence committed Dec 13, 2023
1 parent b99d2e4 commit 38be138
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/test_recovery_cubic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 38be138

Please sign in to comment.