From 1d82774c96886bfe22e01c80ebfa7ecaa3aef29f Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Wed, 2 Aug 2023 05:17:58 +0300 Subject: [PATCH] Fix unused variable in test_process --- minode/tests/test_process.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minode/tests/test_process.py b/minode/tests/test_process.py index 34aa1b9..29726c5 100644 --- a/minode/tests/test_process.py +++ b/minode/tests/test_process.py @@ -79,7 +79,7 @@ class TestProcess(TestProcessProto): if c.status == 'ESTABLISHED'] def continue_check_limit(extra_time): - for t in range(extra_time * 2): + for _ in range(extra_time * 2): self.assertLessEqual( len(connections()), # shared.outgoing_connections, one listening @@ -90,7 +90,7 @@ class TestProcess(TestProcessProto): ' by --connection-limit') time.sleep(1) - for t in range(self._wait_time * 2): + for _ in range(self._wait_time * 2): if len(connections()) > self._connection_limit / 2: _time_to_connect = round(time.time() - _started) break