[Python-checkins] r57911 - sandbox/trunk/2to3/tests/test_fixers.py

collin.winter python-checkins at python.org
Sun Sep 2 22:56:29 CEST 2007


Author: collin.winter
Date: Sun Sep 2 22:56:29 2007
New Revision: 57911
Modified:
 sandbox/trunk/2to3/tests/test_fixers.py
Log:
Remove old debugging code from tests/test_fixers.py
Modified: sandbox/trunk/2to3/tests/test_fixers.py
==============================================================================
--- sandbox/trunk/2to3/tests/test_fixers.py	(original)
+++ sandbox/trunk/2to3/tests/test_fixers.py	Sun Sep 2 22:56:29 2007
@@ -87,10 +87,7 @@
 self.failUnlessEqual(self.logging_stream.getvalue(), "")
 
 def refactor_stream(self, stream_name, stream):
- try:
- tree = self.refactor.driver.parse_stream(stream)
- except Exception, err:
- raise
+ tree = self.refactor.driver.parse_stream(stream)
 self.refactor.refactor_tree(tree, stream_name)
 return str(tree), tree
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /