# HG changeset patch # User Augie Fackler # Date 1521056693 14400 # Node ID c18ae7a070195a9623fe11887e22a55074fa6b75 # Parent 35d814fe2f306f1527e8cd097412f1506650a2b8 tests: clean up two wayward `python` invocations These are also fallout from the check-code regex rewriting bug. Differential Revision: https://phab.mercurial-scm.org/D2865 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 @@ 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 @@ $ cat >> $HGRCPATH << EOF > [ui] - > ssh = python "$RUNTESTDIR/dummyssh" + > ssh = $PYTHON "$RUNTESTDIR/dummyssh" > username = nobody > [extensions] > sparse=