summaryrefslogtreecommitdiffhomepage
path: root/test/unit/applications/proto.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/unit/applications/proto.py
parent47cdfb6f30f7d56bffb806cc860e20806ea62f50 (diff)
downloadunit-3e4fa1e2022970dee003bea0932ea0c10f8744ba.tar.gz
unit-3e4fa1e2022970dee003bea0932ea0c10f8744ba.tar.bz2
Tests: removed unused variables.
Diffstat (limited to '')
-rw-r--r--test/unit/applications/proto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/applications/proto.py b/test/unit/applications/proto.py
index f04ee408..f4d4afe4 100644
--- a/test/unit/applications/proto.py
+++ b/test/unit/applications/proto.py
@@ -26,7 +26,7 @@ class TestApplicationProto(TestControl):
def wait_for_record(self, pattern, name='unit.log', wait=150, flags=re.M):
with Log.open(name) as f:
- for i in range(wait):
+ for _ in range(wait):
found = re.search(pattern, f.read(), flags)
if found is not None: