diff options
author | Andrei Zeliankou <zelenkov@nginx.com> | 2023-05-25 14:26:12 +0100 |
---|---|---|
committer | Andrei Zeliankou <zelenkov@nginx.com> | 2023-05-25 14:26:12 +0100 |
commit | 3e4fa1e2022970dee003bea0932ea0c10f8744ba (patch) | |
tree | d23b32b9a6e33dc57694547f1ec1427f1a19a01a /test/test_settings.py | |
parent | 47cdfb6f30f7d56bffb806cc860e20806ea62f50 (diff) | |
download | unit-3e4fa1e2022970dee003bea0932ea0c10f8744ba.tar.gz unit-3e4fa1e2022970dee003bea0932ea0c10f8744ba.tar.bz2 |
Tests: removed unused variables.
Diffstat (limited to 'test/test_settings.py')
-rw-r--r-- | test/test_settings.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_settings.py b/test/test_settings.py index 965f7197..857bddcc 100644 --- a/test/test_settings.py +++ b/test/test_settings.py @@ -89,7 +89,7 @@ class TestSettings(TestApplicationPython): self.load('empty') def req(): - (resp, sock) = self.http( + (_, sock) = self.http( b"""GET / HTTP/1.1 """, start=True, @@ -173,7 +173,7 @@ Connection: close self.load('empty') def req(): - (resp, sock) = self.http( + (_, sock) = self.http( b"""POST / HTTP/1.1 Host: localhost Content-Length: 10 @@ -293,7 +293,7 @@ Connection: close self.load('empty') def req(): - (resp, sock) = self.get( + (_, sock) = self.get( headers={'Host': 'localhost', 'Connection': 'keep-alive'}, start=True, read_timeout=1, |