py3: use absolute_import in test-hybridencode.py
authorRobert Stanca <robert.stanca7@gmail.com>
Mon, 04 Apr 2016 01:33:08 +0300
changeset 28749 2fa5c7c1df8c
parent 28748 c2ba5a810fa1
child 28750 2b0d7be90fc4
py3: use absolute_import in test-hybridencode.py
tests/test-check-py3-compat.t
tests/test-hybridencode.py
--- a/tests/test-check-py3-compat.t	Mon Apr 04 01:31:21 2016 +0300
+++ b/tests/test-check-py3-compat.t	Mon Apr 04 01:33:08 2016 +0300
@@ -57,7 +57,6 @@
   tests/test-demandimport.py requires print_function
   tests/test-doctest.py not using absolute_import
   tests/test-hgwebdir-paths.py not using absolute_import
-  tests/test-hybridencode.py not using absolute_import
   tests/test-hybridencode.py requires print_function
   tests/test-lrucachedict.py not using absolute_import
   tests/test-lrucachedict.py requires print_function
--- a/tests/test-hybridencode.py	Mon Apr 04 01:31:21 2016 +0300
+++ b/tests/test-hybridencode.py	Mon Apr 04 01:33:08 2016 +0300
@@ -1,4 +1,7 @@
-from mercurial import store
+from __future__ import absolute_import
+from mercurial import (
+    store,
+)
 
 def show(s):
     # show test input