summaryrefslogtreecommitdiffhomepage
path: root/test/test_respawn.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2023-05-25 14:26:12 +0100
committerAndrei Zeliankou <zelenkov@nginx.com>2023-05-25 14:26:12 +0100
commit3e4fa1e2022970dee003bea0932ea0c10f8744ba (patch)
treed23b32b9a6e33dc57694547f1ec1427f1a19a01a /test/test_respawn.py
parent47cdfb6f30f7d56bffb806cc860e20806ea62f50 (diff)
downloadunit-3e4fa1e2022970dee003bea0932ea0c10f8744ba.tar.gz
unit-3e4fa1e2022970dee003bea0932ea0c10f8744ba.tar.bz2
Tests: removed unused variables.
Diffstat (limited to 'test/test_respawn.py')
-rw-r--r--test/test_respawn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_respawn.py b/test/test_respawn.py
index 3d3dfac3..00271503 100644
--- a/test/test_respawn.py
+++ b/test/test_respawn.py
@@ -30,7 +30,7 @@ class TestRespawn(TestApplicationPython):
subprocess.call(['kill', '-9', *pids])
def wait_for_process(self, process, unit_pid):
- for i in range(50):
+ for _ in range(50):
found = self.pid_by_name(process, unit_pid)
if found is not None: