[Python-checkins] r54789 - sandbox/trunk/2to3/tests/pytree_idempotency.py

collin.winter python-checkins at python.org
Thu Apr 12 18:09:36 CEST 2007


Author: collin.winter
Date: Thu Apr 12 18:09:31 2007
New Revision: 54789

Modified:
   sandbox/trunk/2to3/tests/pytree_idempotency.py
Log:
Import tests.support so the path gets fixed up.

Modified: sandbox/trunk/2to3/tests/pytree_idempotency.py
==============================================================================
--- sandbox/trunk/2to3/tests/pytree_idempotency.py	(original)
+++ sandbox/trunk/2to3/tests/pytree_idempotency.py	Thu Apr 12 18:09:31 2007
@@ -6,16 +6,19 @@
 
 __author__ = "Guido van Rossum <guido at python.org>"
 
+# Support imports (need to be imported first)
+import support
+
 # Python imports
 import os
 import sys
 import logging
 
+# Local imports
+import pytree
 import pgen2
 from pgen2 import driver
 
-import pytree
-
 logging.basicConfig()
 
 def main():


More information about the Python-checkins mailing list