Mercurial > hg
diff tests/test-imports-checker.t @ 32940:75be14993fda
cleanup: use $PYTHON to run python in many more tests
Spotted one of these, then wrote a check-code rule that caught them
all. It will be the next change.
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 20 Jun 2017 09:45:02 -0400 |
parents | d3a56bb268ee |
children | 6c113a7dec52 |
line wrap: on
line diff
--- a/tests/test-imports-checker.t Thu Jun 15 14:22:39 2017 -0400 +++ b/tests/test-imports-checker.t Tue Jun 20 09:45:02 2017 -0400 @@ -124,7 +124,7 @@ > from mercurial.node import hex > EOF - $ python "$import_checker" testpackage*/*.py testpackage/subpackage/*.py + $ $PYTHON "$import_checker" testpackage*/*.py testpackage/subpackage/*.py testpackage/importalias.py:2: ui module must be "as" aliased to uimod testpackage/importfromalias.py:2: ui from testpackage must be "as" aliased to uimod testpackage/importfromrelative.py:2: import should be relative: testpackage.unsorted