Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

tests/test_downloader_handlers_http2.py: fix style issue

Adrián Chaves386e2a51ae4e
diff --git a/tests/test_downloader_handlers_http2.py b/tests/test_downloader_handlers_http2.py
index 7c3db5835..439778014 100644
--- a/tests/test_downloader_handlers_http2.py
+++ b/tests/test_downloader_handlers_http2.py
@@ -111,7 +111,7 @@ class Https2TestCase(Https11TestCase):
def test_custom_content_length_bad(self):
request = Request(self.getURL('contentlength'))
actual_content_length = str(len(request.body))
- bad_content_length = str(len(request.body)+1)
+ bad_content_length = str(len(request.body) + 1)
request.headers['Content-Length'] = bad_content_length
log = LogCapture()
d = self.download_request(request, Spider('foo'))