tests: use absolute_import for heredoctest.py
authorGregory Szorc <gregory.szorc@gmail.com>
Sun, 06 Dec 2015 22:26:12 -0800
changeset 27297 4179d054b3e9
parent 27296 8e86679d8acd
child 27298 e1f55b50edcb
tests: use absolute_import for heredoctest.py
tests/heredoctest.py
tests/test-check-py3-compat.t
--- a/tests/heredoctest.py	Sun Dec 06 22:25:41 2015 -0800
+++ b/tests/heredoctest.py	Sun Dec 06 22:26:12 2015 -0800
@@ -1,3 +1,5 @@
+from __future__ import absolute_import
+
 import sys
 
 globalvars = {}
--- a/tests/test-check-py3-compat.t	Sun Dec 06 22:25:41 2015 -0800
+++ b/tests/test-check-py3-compat.t	Sun Dec 06 22:26:12 2015 -0800
@@ -146,7 +146,6 @@
   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