Kaydet (Commit) 94f2788a authored tarafından Senthil Kumaran's avatar Senthil Kumaran

#17471: merge from 3.3

......@@ -1461,6 +1461,8 @@ class MiscTests(unittest.TestCase):
>>> assert hasattr(err, 'headers')
>>> err.headers
'Content-Length: 42'
>>> expected_errmsg = 'HTTP Error %s: %s' % (err.code, err.msg)
>>> assert str(err) == expected_errmsg
"""
class RequestTests(unittest.TestCase):
......
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