Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 236156f commit 8206695Copy full SHA for 8206695
1 file changed
Lib/test/test_httplib.py
@@ -188,7 +188,8 @@ def test_chunked(self):
188
resp.close()
189
190
def test_negative_content_length(self):
191
- sock = FakeSocket('HTTP/1.1 200 OK\r\nContent-Length: -1\r\n\r\nHello\r\n')
+ sock = FakeSocket(
192
+ 'HTTP/1.1 200 OK\r\nContent-Length: -1\r\n\r\nHello\r\n')
193
resp = httplib.HTTPResponse(sock, method="GET")
194
resp.begin()
195
self.assertEquals(resp.read(), b'Hello\r\n')
0 commit comments