# HG changeset patch # User Robert Stanca # Date 2016-04-03 22:33:08 # Node ID 2fa5c7c1df8c629da4e4a2a6424b0590295a1657 # Parent c2ba5a810fa19bbb69b8505b85bb9a30cfd9c733 py3: use absolute_import in test-hybridencode.py 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 @@ -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 diff --git a/tests/test-hybridencode.py b/tests/test-hybridencode.py --- a/tests/test-hybridencode.py +++ b/tests/test-hybridencode.py @@ -1,4 +1,7 @@ -from mercurial import store +from __future__ import absolute_import +from mercurial import ( + store, +) def show(s): # show test input