#17471 - merge from 3.3

This commit is contained in:
Senthil Kumaran 2013-03-19 13:44:42 -07:00
commit 0085ce8920

View file

@ -64,6 +64,9 @@ class TrivialTests(unittest.TestCase):
for string, list in tests:
self.assertEqual(urllib.request.parse_http_list(string), list)
def test_URLError_reasonstr(self):
err = urllib.error.URLError('reason')
self.assertIn(err.reason, str(err))
def test_request_headers_dict():
"""