[PATCH 3 of 8] tests/heredoctest.py: use absolute_import
Gregory Szorc
gregory.szorc at gmail.com
Mon Dec 7 21:35:03 CST 2015
# HG changeset patch
# User Gregory Szorc <gregory.szorc at gmail.com>
# Date 1449469572 28800
# Sun Dec 06 22:26:12 2015 -0800
# Node ID 07455afe9e78dfbe0c822618f5cdf9651f8072f4
# Parent 0b7acf1bf23f5a811fe2f452b14625c1c1c10496
tests/heredoctest.py: use absolute_import
diff --git a/tests/heredoctest.py b/tests/heredoctest.py
--- a/tests/heredoctest.py
+++ b/tests/heredoctest.py
@@ -1,4 +1,6 @@
+from __future__ import absolute_import
+
import sys
globalvars = {}
lines = sys.stdin.readlines()
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
@@ -145,9 +145,8 @@
setup.py not using absolute_import
tests/filterpyflakes.py requires print_function
tests/generate-working-copy-states.py requires print_function
tests/get-with-headers.py requires print_function
- tests/heredoctest.py not using absolute_import
tests/heredoctest.py requires print_function
tests/hghave.py not using absolute_import
tests/hgweberror.py not using absolute_import
tests/hypothesishelpers.py not using absolute_import
More information about the Mercurial-devel
mailing list