projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a01a66e
)
fix test__all__
author
Benjamin Peterson
<benjamin@python.org>
Wed, 29 Apr 2009 22:00:44 +0000
(22:00 +0000)
committer
Benjamin Peterson
<benjamin@python.org>
Wed, 29 Apr 2009 22:00:44 +0000
(22:00 +0000)
Lib/test/test_io.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_io.py
b/Lib/test/test_io.py
index 34b6d0909e6d379b70d8e167868a4edeb0d53aca..a8c878eadfb734303cc5503d2b87083dfaf405bf 100644
(file)
--- 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))