tests/test-impexp-branch.t
changeset 33960 4d40fd0283d8
parent 32940 75be14993fda
child 36394 4bc983568016
--- a/tests/test-impexp-branch.t	Tue Aug 22 15:51:30 2017 -0400
+++ b/tests/test-impexp-branch.t	Tue Aug 22 15:51:37 2017 -0400
@@ -2,7 +2,9 @@
   $ echo 'strip =' >> $HGRCPATH
 
   $ cat >findbranch.py <<EOF
-  > import re, sys
+  > from __future__ import absolute_import
+  > import re
+  > import sys
   > 
   > head_re = re.compile('^#(?:(?:\\s+([A-Za-z][A-Za-z0-9_]*)(?:\\s.*)?)|(?:\\s*))$')
   >