mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Reflow long line.
This commit is contained in:
parent
236156f500
commit
8206695c4b
1 changed files with 2 additions and 1 deletions
|
|
@ -188,7 +188,8 @@ class BasicTest(TestCase):
|
|||
resp.close()
|
||||
|
||||
def test_negative_content_length(self):
|
||||
sock = FakeSocket('HTTP/1.1 200 OK\r\nContent-Length: -1\r\n\r\nHello\r\n')
|
||||
sock = FakeSocket(
|
||||
'HTTP/1.1 200 OK\r\nContent-Length: -1\r\n\r\nHello\r\n')
|
||||
resp = httplib.HTTPResponse(sock, method="GET")
|
||||
resp.begin()
|
||||
self.assertEquals(resp.read(), b'Hello\r\n')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue