mirror of https://github.com/scrapy/scrapy.git
tests/test_downloader_handlers_http2.py: fix style issue
This commit is contained in:
parent
12064d799b
commit
386e2a51ae
|
|
@ -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'))
|
||||
|
|
|
|||
Loading…
Reference in New Issue