py3: use absolute_import in printenv.py
authorRobert Stanca <robert.stanca7@gmail.com>
Sat, 16 Apr 2016 05:32:10 +0300
changeset 28944 036787c10b16
parent 28943 417380aa5bbe
child 28945 05982f7ab231
py3: use absolute_import in printenv.py
tests/printenv.py
tests/test-check-py3-compat.t
--- a/tests/printenv.py	Sat Apr 16 05:30:32 2016 +0300
+++ b/tests/printenv.py	Sat Apr 16 05:32:10 2016 +0300
@@ -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
 
--- a/tests/test-check-py3-compat.t	Sat Apr 16 05:30:32 2016 +0300
+++ b/tests/test-check-py3-compat.t	Sat Apr 16 05:32:10 2016 +0300
@@ -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