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 @@ -56,7 +56,6 @@ tests/test-demandimport.py not using absolute_import tests/test-demandimport.py requires print_function tests/test-doctest.py not using absolute_import - tests/test-hgweb-auth.py not using absolute_import tests/test-hgweb-auth.py requires print_function tests/test-hgwebdir-paths.py not using absolute_import tests/test-hybridencode.py not using absolute_import diff --git a/tests/test-hgweb-auth.py b/tests/test-hgweb-auth.py --- a/tests/test-hgweb-auth.py +++ b/tests/test-hgweb-auth.py @@ -1,8 +1,15 @@ +from __future__ import absolute_import + from mercurial import demandimport; demandimport.enable() import urllib2 -from mercurial import ui, util -from mercurial import url -from mercurial.error import Abort +from mercurial import ( + ui, + url, + util, +) +from mercurial.error import ( + Abort, +) class myui(ui.ui): def interactive(self):