diff -r cad62cb3c84c -r 75be14993fda tests/test-bisect.t --- a/tests/test-bisect.t Thu Jun 15 14:22:39 2017 -0400 +++ b/tests/test-bisect.t Tue Jun 20 09:45:02 2017 -0400 @@ -463,12 +463,12 @@ $ chmod +x script.py $ hg bisect -r $ hg up -qr tip - $ hg bisect --command "python \"$TESTTMP/script.py\" and some parameters" + $ hg bisect --command "$PYTHON \"$TESTTMP/script.py\" and some parameters" changeset 31:58c80a7c8a40: good abort: cannot bisect (no known bad revisions) [255] $ hg up -qr 0 - $ hg bisect --command "python \"$TESTTMP/script.py\" and some parameters" + $ hg bisect --command "$PYTHON \"$TESTTMP/script.py\" and some parameters" changeset 0:b99c7b9c8e11: bad changeset 15:e7fa0811edb0: good changeset 7:03750880c6b5: good