From b8900ec6a698cb4e27424de57ca5593f1c7300e7 Mon Sep 17 00:00:00 2001 From: Anubhav Patel Date: Mon, 17 Jun 2019 00:06:44 +0530 Subject: [PATCH] removes unused var --- tests/test_downloadermiddleware.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/test_downloadermiddleware.py b/tests/test_downloadermiddleware.py index 0f420b70d..03564e748 100644 --- a/tests/test_downloadermiddleware.py +++ b/tests/test_downloadermiddleware.py @@ -123,7 +123,6 @@ class ProcessRequestInvalidOutput(ManagerTestCase): def test_invalid_process_request(self): req = Request('http://example.com/index.html') - resp = Response('http://example.com/index.html') class InvalidProcessRequestMiddleware: def process_request(self, request, spider): @@ -143,7 +142,6 @@ class ProcessResponseInvalidOutput(ManagerTestCase): def test_invalid_process_response(self): req = Request('http://example.com/index.html') - resp = Response('http://example.com/index.html') class InvalidProcessResponseMiddleware: def process_response(self, request, response, spider): @@ -163,7 +161,6 @@ class ProcessExceptionInvalidOutput(ManagerTestCase): def test_invalid_process_exception(self): req = Request('http://example.com/index.html') - resp = Response('http://example.com/index.html') class InvalidProcessExceptionMiddleware: def process_request(self, request, spider):