tests: use absolute_import in hghave.py
authorGregory Szorc <gregory.szorc@gmail.com>
Sun, 06 Dec 2015 22:27:18 -0800
changeset 27298 e1f55b50edcb
parent 27297 4179d054b3e9
child 27299 74e6de99ce7f
tests: use absolute_import in hghave.py
tests/hghave.py
tests/test-check-py3-compat.t
--- a/tests/hghave.py	Sun Dec 06 22:26:12 2015 -0800
+++ b/tests/hghave.py	Sun Dec 06 22:27:18 2015 -0800
@@ -1,3 +1,5 @@
+from __future__ import absolute_import
+
 import errno
 import os
 import re
--- a/tests/test-check-py3-compat.t	Sun Dec 06 22:26:12 2015 -0800
+++ b/tests/test-check-py3-compat.t	Sun Dec 06 22:27:18 2015 -0800
@@ -147,7 +147,6 @@
   tests/generate-working-copy-states.py requires print_function
   tests/get-with-headers.py requires print_function
   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
   tests/hypothesishelpers.py requires print_function