Mercurial > hg
diff tests/test-status-inprocess.py @ 28765:7779f9dfd938
py3: use absolute_import in test-status-inprocess.py
author | Robert Stanca <robert.stanca7@gmail.com> |
---|---|
date | Mon, 04 Apr 2016 05:19:35 +0300 |
parents | 13a1b2fb7ef2 |
children | 7f7cd44cd6d5 |
line wrap: on
line diff
--- a/tests/test-status-inprocess.py Mon Apr 04 05:10:11 2016 +0300 +++ b/tests/test-status-inprocess.py Mon Apr 04 05:19:35 2016 +0300 @@ -1,7 +1,16 @@ #!/usr/bin/python -from mercurial.ui import ui -from mercurial.localrepo import localrepository -from mercurial.commands import add, commit, status +from __future__ import absolute_import +from mercurial.ui import ( + ui, +) +from mercurial.localrepo import ( + localrepository, +) +from mercurial.commands import ( + add, + commit, + status, +) u = ui()