diff tests/test-chg.t @ 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 fce4ed2912bb
children b94db1780365
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