diff --git a/tests/hgweberror.py b/tests/hgweberror.py index e1f55b50edcbc55405971205b7937991c375b76a_dGVzdHMvaGd3ZWJlcnJvci5weQ==..74e6de99ce7ff05a1f9308cc42209c967029e2c7_dGVzdHMvaGd3ZWJlcnJvci5weQ== 100644 --- a/tests/hgweberror.py +++ b/tests/hgweberror.py @@ -1,6 +1,10 @@ # A dummy extension that installs an hgweb command that throws an Exception. -from mercurial.hgweb import webcommands +from __future__ import absolute_import + +from mercurial.hgweb import ( + webcommands, +) def raiseerror(web, req, tmpl): '''Dummy web command that raises an uncaught Exception.''' diff --git a/tests/test-check-py3-compat.t b/tests/test-check-py3-compat.t index e1f55b50edcbc55405971205b7937991c375b76a_dGVzdHMvdGVzdC1jaGVjay1weTMtY29tcGF0LnQ=..74e6de99ce7ff05a1f9308cc42209c967029e2c7_dGVzdHMvdGVzdC1jaGVjay1weTMtY29tcGF0LnQ= 100644 --- a/tests/test-check-py3-compat.t +++ b/tests/test-check-py3-compat.t @@ -147,7 +147,6 @@ tests/generate-working-copy-states.py requires print_function tests/get-with-headers.py requires print_function tests/heredoctest.py requires print_function - tests/hgweberror.py not using absolute_import tests/hypothesishelpers.py not using absolute_import tests/hypothesishelpers.py requires print_function tests/killdaemons.py not using absolute_import