tests: use absolulte_import in test-wireproto.py
authorGregory Szorc <gregory.szorc@gmail.com>
Sun, 06 Dec 2015 22:02:39 -0800
changeset 27301 5defcb7d6e5f
parent 27300 a8b2bf520a2a
child 27302 faca4adfed0a
tests: use absolulte_import in test-wireproto.py
tests/test-check-py3-compat.t
tests/test-wireproto.py
--- a/tests/test-check-py3-compat.t	Sun Dec 06 22:05:19 2015 -0800
+++ b/tests/test-check-py3-compat.t	Sun Dec 06 22:02:39 2015 -0800
@@ -219,7 +219,6 @@
   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
--- a/tests/test-wireproto.py	Sun Dec 06 22:05:19 2015 -0800
+++ b/tests/test-wireproto.py	Sun Dec 06 22:02:39 2015 -0800
@@ -1,3 +1,5 @@
+from __future__ import absolute_import
+
 from mercurial import wireproto
 
 class proto(object):