diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-04-29 22:00:44 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-04-29 22:00:44 (GMT) |
commit | 6a52a9cfcb1add1be7be4c0b5aa9aa43c25a57e0 (patch) | |
tree | 88c1d2e3e495003c70be777b80047c08144be663 | |
parent | a01a66e0c1228288f5e99faff9673db221406538 (diff) | |
download | cpython-6a52a9cfcb1add1be7be4c0b5aa9aa43c25a57e0.zip cpython-6a52a9cfcb1add1be7be4c0b5aa9aa43c25a57e0.tar.gz cpython-6a52a9cfcb1add1be7be4c0b5aa9aa43c25a57e0.tar.bz2 |
fix test__all__
-rw-r--r-- | Lib/test/test_io.py | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |