diff tests/test-patch.t @ 32958: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 0705f2ac79d6
children b1f75d8e887a
line wrap: on
line diff
--- a/tests/test-patch.t	Thu Jun 15 14:22:39 2017 -0400
+++ b/tests/test-patch.t	Tue Jun 20 09:45:02 2017 -0400
@@ -6,7 +6,7 @@
   > EOF
 
   $ echo "[ui]" >> $HGRCPATH
-  $ echo "patch=python ../patchtool.py" >> $HGRCPATH
+  $ echo "patch=$PYTHON ../patchtool.py" >> $HGRCPATH
 
   $ hg init a
   $ cd a