commit | 700bd926778b06bfd955ace944b863c722b40872 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Aug 27 18:10:06 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Aug 27 18:10:06 2007 +0000 |
tree | 9058c7f6f47587749ec6e62430186913b097a502 | |
parent | 5abbf750a2b7af030ef53880f428e507bde74b62 [diff] [blame] |
Fix a few places that broke due to a recent change to io.py.
diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py index dff840e..22979f6 100644 --- a/Lib/test/test_urllib2.py +++ b/Lib/test/test_urllib2.py
@@ -673,7 +673,7 @@ self.assertEqual(req.type, "ftp") def test_http(self): - class MockHTTPResponse: + class MockHTTPResponse(io.IOBase): def __init__(self, fp, msg, status, reason): self.fp = fp self.msg = msg