projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b19754
)
Fix parsing of exception_hierarchy.txt when a platform-specific exception is
author
Brett Cannon
<bcannon@gmail.com>
Wed, 1 Mar 2006 06:10:48 +0000
(06:10 +0000)
committer
Brett Cannon
<bcannon@gmail.com>
Wed, 1 Mar 2006 06:10:48 +0000
(06:10 +0000)
specified. Hopefully this wll bring warming to Tim's Windows-loving heart.
Lib/test/test_pep352.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_pep352.py
b/Lib/test/test_pep352.py
index 234d67116c352e78adce7a543d9c3669b1e1bf75..251e0be0a8fb580fa0b6a294a6657c9b04ceb3de 100644
(file)
--- a/
Lib/test/test_pep352.py
+++ b/
Lib/test/test_pep352.py
@@
-42,6
+42,7
@@
class ExceptionClassTests(unittest.TestCase):
if '(' in exc_name:
paren_index = exc_name.index('(')
platform_name = exc_name[paren_index+1:-1]
+ exc_name = exc_name[:paren_index-1] # Slice off space
if platform_system() != platform_name:
exc_set.discard(exc_name)
continue