Mercurial > public > mercurial-scm > hg-stable
diff tests/test-hgweb-auth.py @ 28747:779addce6910
py3: use absolute_import in test-hgweb-auth.py
author | Robert Stanca <robert.stanca7@gmail.com> |
---|---|
date | Mon, 04 Apr 2016 00:55:36 +0300 |
parents | 9de689d20230 |
children | c2ba5a810fa1 |
line wrap: on
line diff
--- a/tests/test-hgweb-auth.py Mon Apr 04 00:29:03 2016 +0300 +++ b/tests/test-hgweb-auth.py Mon Apr 04 00:55:36 2016 +0300 @@ -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):