Commit 8206695c authored by Jeremy Hylton's avatar Jeremy Hylton

Reflow long line.

parent 236156f5
...@@ -188,7 +188,8 @@ class BasicTest(TestCase): ...@@ -188,7 +188,8 @@ class BasicTest(TestCase):
resp.close() resp.close()
def test_negative_content_length(self): 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 = httplib.HTTPResponse(sock, method="GET")
resp.begin() resp.begin()
self.assertEquals(resp.read(), b'Hello\r\n') self.assertEquals(resp.read(), b'Hello\r\n')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment