diff -r e1f55b50edcb -r 74e6de99ce7f tests/hgweberror.py --- a/tests/hgweberror.py Sun Dec 06 22:27:18 2015 -0800 +++ b/tests/hgweberror.py Sun Dec 06 22:27:53 2015 -0800 @@ -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.'''