changeset 33960:4d40fd0283d8

tests: update test-impexp-branch to pass our import checker
author Augie Fackler <raf@durin42.com>
date Tue, 22 Aug 2017 15:51:37 -0400
parents dc95caa1ec0d
children 237d2502ee6e
files tests/test-impexp-branch.t
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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*))$')
   >