comparison tests/test-hgweb-no-path-info.t @ 27272:69308357ecd1

import-checker: allow absolute imports of sub modules from local packages Before this patch, import-checker.py didn't know if a name in ImportFrom statement are module or not. Therefore, it complained the following example did "direct symbol import from mercurial". # hgext/foo.py from mercurial import hg This patch reuses the dict of local modules to filter out sub-module names.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 06 Dec 2015 14:18:19 +0900
parents 91eb605022f5
children 9f67cf7cc28e
comparison
equal deleted inserted replaced
27271:2a31433a59ba 27272:69308357ecd1