diff tests/test-commit-interactive.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 df224038c516
children 5b9ae9eca94a
line wrap: on
line diff
--- a/tests/test-commit-interactive.t	Thu Jun 15 14:22:39 2017 -0400
+++ b/tests/test-commit-interactive.t	Tue Jun 20 09:45:02 2017 -0400
@@ -909,7 +909,7 @@
   >     sys.stdout.write(''.join(escape(c) for c in l))
   > EOF
 
-  $ hg commit -i --encoding cp932 2>&1 <<EOF | python $TESTTMP/escape.py | grep '^y - '
+  $ hg commit -i --encoding cp932 2>&1 <<EOF | $PYTHON $TESTTMP/escape.py | grep '^y - '
   > ?
   > q
   > EOF