Mercurial > public > mercurial-scm > hg-stable
diff tests/test-help.t @ 33262:8e6f4939a69a
tests: replace yet more calls to `python` with $PYTHON
These are some simple cases. More to come in a future change.
Reviewers: krbullock
Reviewed By: krbullock
Differential Revision: https://phab.mercurial-scm.org/D4
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 05 Jul 2017 11:10:11 -0500 |
parents | 75be14993fda |
children | 67b42e64194d |
line wrap: on
line diff
--- a/tests/test-help.t Wed Jul 05 11:09:55 2017 -0500 +++ b/tests/test-help.t Wed Jul 05 11:10:11 2017 -0500 @@ -1646,7 +1646,7 @@ This tests that section lookup by translated string isn't broken by such str.lower(). - $ python <<EOF + $ $PYTHON <<EOF > def escape(s): > return ''.join('\u%x' % ord(uc) for uc in s.decode('cp932')) > # translation of "record" in ja_JP.cp932 @@ -1680,7 +1680,7 @@ > ambiguous = ./ambiguous.py > EOF - $ python <<EOF | sh + $ $PYTHON <<EOF | sh > upper = "\x8bL\x98^" > print "hg --encoding cp932 help -e ambiguous.%s" % upper > EOF @@ -1690,7 +1690,7 @@ Upper name should show only this message - $ python <<EOF | sh + $ $PYTHON <<EOF | sh > lower = "\x8bl\x98^" > print "hg --encoding cp932 help -e ambiguous.%s" % lower > EOF