[PATCH 4 of 8] tests/hghave.py: use absolute_import
Gregory Szorc
gregory.szorc at gmail.com
Mon Dec 7 21:35:04 CST 2015
# HG changeset patch
# User Gregory Szorc <gregory.szorc at gmail.com>
# Date 1449469638 28800
# Sun Dec 06 22:27:18 2015 -0800
# Node ID a28f6dbeb28023bdd4b3a4e160df2572945fa6d5
# Parent 07455afe9e78dfbe0c822618f5cdf9651f8072f4
tests/hghave.py: use absolute_import
diff --git a/tests/hghave.py b/tests/hghave.py
--- a/tests/hghave.py
+++ b/tests/hghave.py
@@ -1,4 +1,6 @@
+from __future__ import absolute_import
+
import errno
import os
import re
import socket
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
@@ -146,9 +146,8 @@
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 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
tests/killdaemons.py not using absolute_import
More information about the Mercurial-devel
mailing list