tests: update test-impexp-branch to pass our import checker
authorAugie Fackler <raf@durin42.com>
Tue, 22 Aug 2017 15:51:37 -0400
changeset 33960 4d40fd0283d8
parent 33959 dc95caa1ec0d
child 33961 237d2502ee6e
tests: update test-impexp-branch to pass our import checker
tests/test-impexp-branch.t
--- 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*))$')
   >