changeset 28944:036787c10b16

py3: use absolute_import in printenv.py
author Robert Stanca <robert.stanca7@gmail.com>
date Sat, 16 Apr 2016 05:32:10 +0300
parents 417380aa5bbe
children 05982f7ab231
files tests/printenv.py tests/test-check-py3-compat.t
diffstat 2 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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