tests: update test-pager to pass our import checker
authorAugie Fackler <raf@durin42.com>
Tue, 22 Aug 2017 16:58:57 -0400
changeset 33989 dcfa83652744
parent 33988 a65f928e47d5
child 33990 b1f75d8e887a
tests: update test-pager to pass our import checker
tests/test-pager.t
--- a/tests/test-pager.t	Tue Aug 22 16:58:52 2017 -0400
+++ b/tests/test-pager.t	Tue Aug 22 16:58:57 2017 -0400
@@ -342,7 +342,9 @@
 
 Environment variables like LESS and LV are set automatically:
   $ cat > $TESTTMP/printlesslv.py <<EOF
-  > import os, sys
+  > from __future__ import absolute_import
+  > import os
+  > import sys
   > sys.stdin.read()
   > for name in ['LESS', 'LV']:
   >     sys.stdout.write(('%s=%s\n') % (name, os.environ.get(name, '-')))