diff --git a/tests/test-narrow-clone-non-narrow-server.t b/tests/test-narrow-clone-non-narrow-server.t --- a/tests/test-narrow-clone-non-narrow-server.t +++ b/tests/test-narrow-clone-non-narrow-server.t @@ -19,7 +19,7 @@ Test attempting a narrow clone against a Verify that narrow is advertised in the bundle2 capabilities: $ echo hello | hg -R . serve --stdio | \ - > python -c "import sys, urllib; print urllib.unquote_plus(list(sys.stdin)[1])" | grep narrow + > $PYTHON -c "import sys, urllib; print urllib.unquote_plus(list(sys.stdin)[1])" | grep narrow narrow=v0 $ cd .. diff --git a/tests/test-sparse-clone.t b/tests/test-sparse-clone.t --- a/tests/test-sparse-clone.t +++ b/tests/test-sparse-clone.t @@ -2,7 +2,7 @@ test sparse $ cat >> $HGRCPATH << EOF > [ui] - > ssh = python "$RUNTESTDIR/dummyssh" + > ssh = $PYTHON "$RUNTESTDIR/dummyssh" > username = nobody > [extensions] > sparse=