diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py index 49e6c82d433..3ed81ce5105 100644 --- a/Lib/test/test_urllib2.py +++ b/Lib/test/test_urllib2.py @@ -833,7 +833,6 @@ class HandlerTests(unittest.TestCase): req = Request(url) try: h.file_open(req) - # XXXX remove OSError when bug fixed except urllib.error.URLError: self.assertFalse(ftp) else: