From 6a52a9cfcb1add1be7be4c0b5aa9aa43c25a57e0 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 29 Apr 2009 22:00:44 +0000 Subject: fix test__all__ --- Lib/test/test_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py index 34b6d09..a8c878e 100644 --- a/Lib/test/test_io.py +++ b/Lib/test/test_io.py @@ -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)) -- cgit v0.12