--- 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