Mercurial > public > mercurial-scm > hg-stable
diff tests/test-parseindex2.py @ 29205:a0939666b836
py3: move up symbol imports to enforce import-checker rules
Since (b) is banned, we should do the same for (a) for consistency.
a) from mercurial import hg
from mercurial.i18n import _
b) from . import hg
from .i18n import _
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 14 May 2016 14:03:12 +0900 |
parents | e155b8d5e3b7 |
children | df448de7cf3b |
line wrap: on
line diff
--- a/tests/test-parseindex2.py Thu May 19 00:20:38 2016 +0900 +++ b/tests/test-parseindex2.py Sat May 14 14:03:12 2016 +0900 @@ -9,13 +9,13 @@ import subprocess import sys -from mercurial import ( - parsers, -) from mercurial.node import ( nullid, nullrev, ) +from mercurial import ( + parsers, +) # original python implementation def gettype(q):