# HG changeset patch # User Robert Stanca # Date 2016-04-16 02:30:32 # Node ID 417380aa5bbe576f8fb427ef6e31e8bc7f060db7 # Parent 05cb9c6f310e433f0041d3fd57e6a503a54f4549 py3: use absolute_import in mockblackbox.py diff --git a/tests/mockblackbox.py b/tests/mockblackbox.py --- a/tests/mockblackbox.py +++ b/tests/mockblackbox.py @@ -1,4 +1,7 @@ -from mercurial import util +from __future__ import absolute_import +from mercurial import ( + util, +) def makedate(): return 0, 0 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 @@ -42,7 +42,6 @@ setup.py not using absolute_import tests/heredoctest.py requires print_function tests/md5sum.py not using absolute_import - tests/mockblackbox.py not using absolute_import tests/printenv.py not using absolute_import tests/readlink.py not using absolute_import tests/readlink.py requires print_function