[Python-checkins] r53726 - sandbox/trunk/2to3/fixer_tests.py

guido.van.rossum python-checkins at python.org
Sat Feb 10 22:23:31 CET 2007


Author: guido.van.rossum
Date: Sat Feb 10 22:23:30 2007
New Revision: 53726

Modified:
   sandbox/trunk/2to3/fixer_tests.py
Log:
Need to set options.print_function to make the tests pass now.


Modified: sandbox/trunk/2to3/fixer_tests.py
==============================================================================
--- sandbox/trunk/2to3/fixer_tests.py	(original)
+++ sandbox/trunk/2to3/fixer_tests.py	Sat Feb 10 22:23:30 2007
@@ -37,7 +37,7 @@
 
 class FixerTestCase(unittest.TestCase):
     def setUp(self):
-        options = Options(fix=[self.fixer])
+        options = Options(fix=[self.fixer], print_function=False)
         self.refactor = refactor.RefactoringTool(options)
 
         self.logging_stream = StringIO()


More information about the Python-checkins mailing list