# HG changeset patch # User Augie Fackler # Date 2017-08-22 20:58:57 # Node ID dcfa836527449538b512a2fd686f37fe8acb979e # Parent a65f928e47d5e9ca660cdbfd7ee41b097d201703 tests: update test-pager to pass our import checker diff --git a/tests/test-pager.t b/tests/test-pager.t --- a/tests/test-pager.t +++ b/tests/test-pager.t @@ -342,7 +342,9 @@ Put annotate in the ignore list for page Environment variables like LESS and LV are set automatically: $ cat > $TESTTMP/printlesslv.py < 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, '-')))