summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-06-04 17:31:11 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-06-04 17:31:11 (GMT)
commit9d5c7a5b9d079262c569bae8f5afbaa9afcd069c (patch)
tree18240b9b798161dff2834d175bc989c45b1e1ccc /Lib
parent41142f50c32719e0a979349e26c50e8f94602356 (diff)
downloadcpython-9d5c7a5b9d079262c569bae8f5afbaa9afcd069c.zip
cpython-9d5c7a5b9d079262c569bae8f5afbaa9afcd069c.tar.gz
cpython-9d5c7a5b9d079262c569bae8f5afbaa9afcd069c.tar.bz2
Merged revisions 81695 via svnmerge from
svn+ssh://pythondev@svn.python.org/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://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. ........ ................
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_httplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_httplib.py b/Lib/test/test_httplib.py
index 98db2b7..f615c5d 100644
--- a/Lib/test/test_httplib.py
+++ b/Lib/test/test_httplib.py
@@ -234,7 +234,7 @@ class BasicTest(TestCase):
self.assertEquals(resp.read(), b'')
self.assertEquals(resp.status, 200)
self.assertEquals(resp.reason, 'OK')
- resp.close()
+ self.assertTrue(resp.isclosed())
def test_negative_content_length(self):
sock = FakeSocket(