# HG changeset patch # User Robert Stanca # Date 2016-04-16 02:32:10 # Node ID 036787c10b16666b883e1ac745cd64bcbf6a9250 # Parent 417380aa5bbe576f8fb427ef6e31e8bc7f060db7 py3: use absolute_import in printenv.py diff --git a/tests/printenv.py b/tests/printenv.py --- a/tests/printenv.py +++ b/tests/printenv.py @@ -12,6 +12,7 @@ # - [output] is the name of the output file (default: use sys.stdout) # the file will be opened in append mode. # +from __future__ import absolute_import import os import sys diff --git a/tests/test-check-py3-compat.t b/tests/test-check-py3-compat.t --- a/tests/test-check-py3-compat.t +++ b/tests/test-check-py3-compat.t @@ -42,7 +42,6 @@ setup.py not using absolute_import tests/heredoctest.py requires print_function tests/md5sum.py not using absolute_import - tests/printenv.py not using absolute_import tests/readlink.py not using absolute_import tests/readlink.py requires print_function tests/revlog-formatv0.py not using absolute_import