Mercurial > public > mercurial-scm > hg-stable
diff tests/test-filelog.py @ 28743:83373fc2b287
py3: use absolute_import in test-filelog.py
author | Robert Stanca <robert.stanca7@gmail.com> |
---|---|
date | Sun, 03 Apr 2016 17:10:12 +0300 |
parents | ce26928cbe41 |
children | 6537e14301ef |
line wrap: on
line diff
--- a/tests/test-filelog.py Sun Apr 03 17:06:40 2016 +0300 +++ b/tests/test-filelog.py Sun Apr 03 17:10:12 2016 +0300 @@ -2,8 +2,15 @@ """ Tests the behavior of filelog w.r.t. data starting with '\1\n' """ -from mercurial import ui, hg -from mercurial.node import nullid, hex +from __future__ import absolute_import +from mercurial import ( + hg, + ui, +) +from mercurial.node import ( + hex, + nullid, +) myui = ui.ui() repo = hg.repository(myui, path='.', create=True)