changeset 27298:e1f55b50edcb

tests: use absolute_import in hghave.py
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 06 Dec 2015 22:27:18 -0800
parents 4179d054b3e9
children 74e6de99ce7f
files tests/hghave.py tests/test-check-py3-compat.t
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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