From 3e4fa1e2022970dee003bea0932ea0c10f8744ba Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Thu, 25 May 2023 14:26:12 +0100 Subject: Tests: removed unused variables. --- test/test_asgi_application.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_asgi_application.py') diff --git a/test/test_asgi_application.py b/test/test_asgi_application.py index fb5e1742..10e72367 100644 --- a/test/test_asgi_application.py +++ b/test/test_asgi_application.py @@ -59,7 +59,7 @@ custom-header: BLAH }, 'headers' assert resp['body'] == body, 'body' - def test_asgi_application_ipv6(self, temp_dir): + def test_asgi_application_ipv6(self): self.load('empty') assert 'success' in self.conf( @@ -401,7 +401,7 @@ Connection: close socks = [] - for i in range(2): + for _ in range(2): sock = self.get( headers={ 'Host': 'localhost', -- cgit