changeset 33949:0d0cec9602c3

tests: update test-chg to pass our import checker
author Augie Fackler <raf@durin42.com>
date Tue, 22 Aug 2017 15:49:20 -0400
parents 4f86c9647d23
children 42361715dd11
files tests/test-chg.t
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-chg.t	Tue Aug 22 15:05:51 2017 -0400
+++ b/tests/test-chg.t	Tue Aug 22 15:49:20 2017 -0400
@@ -115,7 +115,9 @@
   > EOF
 
   $ cat > $TESTTMP/fakepager.py <<EOF
-  > import sys, time
+  > from __future__ import absolute_import
+  > import sys
+  > import time
   > for line in iter(sys.stdin.readline, ''):
   >     if 'crash' in line: # only interested in lines containing 'crash'
   >         # if chg exits when pager is sleeping (incorrectly), the output