changeset 27301:5defcb7d6e5f

tests: use absolulte_import in test-wireproto.py
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 06 Dec 2015 22:02:39 -0800
parents a8b2bf520a2a
children faca4adfed0a
files tests/test-check-py3-compat.t tests/test-wireproto.py
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):