commit | 94f2788a859df7e79f8800f2b601e00acc2f8562 | [log] [tgz] |
---|---|---|
author | Senthil Kumaran <senthil@uthcode.com> | Tue Mar 19 16:52:06 2013 -0700 |
committer | Senthil Kumaran <senthil@uthcode.com> | Tue Mar 19 16:52:06 2013 -0700 |
tree | 173601aa15d33dba84def9a53603433f37be5c08 | |
parent | f027a204b0eda96ac6cc2a6ebf9faaab209a981a [diff] [blame] | |
parent | f47e77f3437948992c0c9e0cdca481d59ebc14fa [diff] [blame] |
#17471: merge from 3.3
diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py index 46f5da7..3e19ecf 100644 --- a/Lib/test/test_urllib2.py +++ b/Lib/test/test_urllib2.py
@@ -1461,6 +1461,8 @@ >>> 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):