tests: update test-chg to pass our import checker
authorAugie Fackler <raf@durin42.com>
Tue, 22 Aug 2017 15:49:20 -0400
changeset 33949 0d0cec9602c3
parent 33948 4f86c9647d23
child 33950 42361715dd11
tests: update test-chg to pass our import checker
tests/test-chg.t
--- 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