Commit 6a52a9cf authored by Benjamin Peterson's avatar Benjamin Peterson

fix test__all__

parent a01a66e0
......@@ -2089,7 +2089,7 @@ class MiscIOTest(unittest.TestCase):
self.assertTrue(obj is not None, name)
if name == "open":
continue
elif "error" in name.lower():
elif "error" in name.lower() or name == "UnsupportedOperation":
self.assertTrue(issubclass(obj, Exception), name)
elif not name.startswith("SEEK_"):
self.assertTrue(issubclass(obj, self.IOBase))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment