Mercurial > hg-stable
diff tests/test-check-module-imports.t @ 28330:f3fb24e36d61
import-checker: report local with stdlib late warning
Without this, developers have to figure it out on their own
author | timeless <timeless@mozdev.org> |
---|---|
date | Wed, 02 Mar 2016 15:38:54 +0000 |
parents | d4cced5885f8 |
children | 99a2bdad0fda |
line wrap: on
line diff
--- a/tests/test-check-module-imports.t Thu Mar 03 23:11:33 2016 -0800 +++ b/tests/test-check-module-imports.t Wed Mar 02 15:38:54 2016 +0000 @@ -125,7 +125,7 @@ testpackage/relativestdlib.py:2: relative import of stdlib module testpackage/requirerelative.py:2: import should be relative: testpackage.unsorted testpackage/sortedentries.py:2: imports from testpackage not lexically sorted: bar < foo - testpackage/stdafterlocal.py:3: stdlib import follows local import: os + testpackage/stdafterlocal.py:3: stdlib import "os" follows local import: testpackage testpackage/subpackage/levelpriority.py:3: higher-level import should come first: testpackage testpackage/subpackage/localimport.py:7: multiple "from .. import" statements testpackage/subpackage/localimport.py:8: import should be relative: testpackage.subpackage.levelpriority