Skip to content

Commit 0b99883

Browse files
committed
Merged revisions 81691 via svnmerge from
svn+ssh://pythondev@svn.python.org/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 ec78d0a commit 0b99883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_httplib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def test_chunked_head(self):
239239
self.assertEquals(resp.read(), b'')
240240
self.assertEquals(resp.status, 200)
241241
self.assertEquals(resp.reason, 'OK')
242-
resp.close()
242+
self.assertTrue(resp.isclosed())
243243

244244
def test_negative_content_length(self):
245245
sock = FakeSocket(

0 commit comments

Comments
 (0)