Commit 0b998835 authored by Senthil Kumaran's avatar Senthil Kumaran

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.
........
parent ec78d0ae
......@@ -239,7 +239,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(
......
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