[Python-checkins] r67387 - sandbox/trunk/2to3/lib2to3/tests/test_refactor.py

benjamin.peterson python-checkins at python.org
Tue Nov 25 23:47:54 CET 2008


Author: benjamin.peterson
Date: Tue Nov 25 23:47:54 2008
New Revision: 67387

Log:
fix broken test

Modified:
   sandbox/trunk/2to3/lib2to3/tests/test_refactor.py

Modified: sandbox/trunk/2to3/lib2to3/tests/test_refactor.py
==============================================================================
--- sandbox/trunk/2to3/lib2to3/tests/test_refactor.py	(original)
+++ sandbox/trunk/2to3/lib2to3/tests/test_refactor.py	Tue Nov 25 23:47:54 2008
@@ -161,7 +161,7 @@
         self.assertEqual(len(rt.post_order), 0)
 
         rt = self.rt(explicit=["myfixes.fix_explicit"])
-        for fix in rt.post_order[None]:
+        for fix in rt.post_order:
             if isinstance(fix, FixExplicit):
                 break
         else:


More information about the Python-checkins mailing list