summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_io.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-04-29 22:00:44 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-04-29 22:00:44 (GMT)
commit6a52a9cfcb1add1be7be4c0b5aa9aa43c25a57e0 (patch)
tree88c1d2e3e495003c70be777b80047c08144be663 /Lib/test/test_io.py
parenta01a66e0c1228288f5e99faff9673db221406538 (diff)
downloadcpython-6a52a9cfcb1add1be7be4c0b5aa9aa43c25a57e0.zip
cpython-6a52a9cfcb1add1be7be4c0b5aa9aa43c25a57e0.tar.gz
cpython-6a52a9cfcb1add1be7be4c0b5aa9aa43c25a57e0.tar.bz2
fix test__all__
Diffstat (limited to 'Lib/test/test_io.py')
-rw-r--r--Lib/test/test_io.py2
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))