summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urllib2.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-08-27 18:10:06 (GMT)
committerGuido van Rossum <guido@python.org>2007-08-27 18:10:06 (GMT)
commit700bd926778b06bfd955ace944b863c722b40872 (patch)
tree9058c7f6f47587749ec6e62430186913b097a502 /Lib/test/test_urllib2.py
parent5abbf750a2b7af030ef53880f428e507bde74b62 (diff)
downloadcpython-700bd926778b06bfd955ace944b863c722b40872.zip
cpython-700bd926778b06bfd955ace944b863c722b40872.tar.gz
cpython-700bd926778b06bfd955ace944b863c722b40872.tar.bz2
Fix a few places that broke due to a recent change to io.py.
Diffstat (limited to 'Lib/test/test_urllib2.py')
-rw-r--r--Lib/test/test_urllib2.py2
1 files changed, 1 insertions, 1 deletions
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 @@ class HandlerTests(unittest.TestCase):
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