Mercurial > public > mercurial-scm > hg-stable
diff tests/test-hgweb-commands.t @ 22947:c63a09b6b337
tests: use $PYTHON instead of hardcoding python
This makes running the testsuite with pypy possible.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Wed, 15 Oct 2014 15:35:59 -0400 |
parents | 7a9cbb315d84 |
children | dc25ed84bee8 |
line wrap: on
line diff
--- a/tests/test-hgweb-commands.t Wed Oct 15 15:13:43 2014 -0400 +++ b/tests/test-hgweb-commands.t Wed Oct 15 15:35:59 2014 -0400 @@ -2034,7 +2034,7 @@ commit message with Japanese Kanji 'Noh', which ends with '\x5c' $ echo foo >> foo - $ HGENCODING=cp932 hg ci -m `python -c 'print("\x94\x5c")'` + $ HGENCODING=cp932 hg ci -m `$PYTHON -c 'print("\x94\x5c")'` Graph json escape of multibyte character