diff tests/test-encoding.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 51fa43a3cd58
children eb586ed5d8ce
line wrap: on
line diff
--- a/tests/test-encoding.t	Wed Jul 05 11:09:55 2017 -0500
+++ b/tests/test-encoding.t	Wed Jul 05 11:10:11 2017 -0500
@@ -13,7 +13,7 @@
   (run 'hg update' to get a working copy)
   $ hg co
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  $ python << EOF
+  $ $PYTHON << EOF
   > f = file('latin-1', 'w'); f.write("latin-1 e' encoded: \xe9"); f.close()
   > f = file('utf-8', 'w'); f.write("utf-8 e' encoded: \xc3\xa9"); f.close()
   > f = file('latin-1-tag', 'w'); f.write("\xe9"); f.close()