changeset 33970:794f7bb739be

tests: update test-convert-clonebranches to pass our import checker
author Augie Fackler <raf@durin42.com>
date Tue, 22 Aug 2017 15:50:27 -0400
parents 335d45e74381
children 90981271a904
files tests/test-convert-clonebranches.t
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-convert-clonebranches.t	Tue Aug 22 15:50:01 2017 -0400
+++ b/tests/test-convert-clonebranches.t	Tue Aug 22 15:50:27 2017 -0400
@@ -31,7 +31,9 @@
 Miss perl... sometimes
 
   $ cat > filter.py <<EOF
-  > import sys, re
+  > from __future__ import absolute_import
+  > import re
+  > import sys
   > 
   > r = re.compile(r'^(?:\d+|pulling from)')
   > sys.stdout.writelines([l for l in sys.stdin if r.search(l)])