Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9d5c7a5

Browse files
committed
Merged revisions 81695 via svnmerge from
svn+ssh://[email protected]/python/branches/py3k ................ r81695 | senthil.kumaran | 2010-06-04 22:57:11 +0530 (Fri, 04 Jun 2010) | 9 lines Merged revisions 81691 via svnmerge from svn+ssh://[email protected]/python/trunk ........ r81691 | senthil.kumaran | 2010-06-04 22:47:09 +0530 (Fri, 04 Jun 2010) | 3 lines test verifying the resp object is closed for HEAD response. ........ ................
1 parent 41142f5 commit 9d5c7a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_httplib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def test_chunked_head(self):
234234
self.assertEquals(resp.read(), b'')
235235
self.assertEquals(resp.status, 200)
236236
self.assertEquals(resp.reason, 'OK')
237-
resp.close()
237+
self.assertTrue(resp.isclosed())
238238

239239
def test_negative_content_length(self):
240240
sock = FakeSocket(

0 commit comments

Comments
 (0)