[PATCH 7 of 8] tests/test-wireproto.py: use absolulte_import

Gregory Szorc gregory.szorc at gmail.com
Mon Dec 7 21:35:07 CST 2015


# HG changeset patch
# User Gregory Szorc <gregory.szorc at gmail.com>
# Date 1449468159 28800
#      Sun Dec 06 22:02:39 2015 -0800
# Node ID 4bd8525de68c587b1385da318370e61b310bc3e1
# Parent  17c02dc9c7c16d6fda4b6d1601bf5f5c772d01b0
tests/test-wireproto.py: use absolulte_import

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
@@ -218,8 +218,7 @@
   tests/test-ui-verbosity.py requires print_function
   tests/test-url.py not using absolute_import
   tests/test-url.py requires print_function
   tests/test-walkrepo.py requires print_function
-  tests/test-wireproto.py not using absolute_import
   tests/test-wireproto.py requires print_function
   tests/tinyproxy.py not using absolute_import
   tests/tinyproxy.py requires print_function
diff --git a/tests/test-wireproto.py b/tests/test-wireproto.py
--- a/tests/test-wireproto.py
+++ b/tests/test-wireproto.py
@@ -1,4 +1,6 @@
+from __future__ import absolute_import
+
 from mercurial import wireproto
 
 class proto(object):
     def __init__(self, args):


More information about the Mercurial-devel mailing list