# HG changeset patch # User Martin von Zweigbergk # Date 1616444051 25200 # Node ID ea8bfd33c22a7b2c62c9b26493d7f46bb97b98d4 # Parent 433cef8f3104bed1560e4403b8870cf8c4bf688d tests: replace some `python` by `"$PYTHON"` to not only use Python 2 I deleted my `python` binary as a test and a few tests started failing. Differential Revision: https://phab.mercurial-scm.org/D10250 diff -r 433cef8f3104 -r ea8bfd33c22a tests/test-convert-cvs.t --- a/tests/test-convert-cvs.t Sat Mar 13 03:17:00 2021 +0100 +++ b/tests/test-convert-cvs.t Mon Mar 22 13:14:11 2021 -0700 @@ -521,7 +521,7 @@ |cp932 |\x82\xa0 | x x o | $ mkdir -p cvsrepo/transcoding - $ python < fp = open('cvsrepo/transcoding/file,v', 'wb') > fp.write((b''' > head 1.4; diff -r 433cef8f3104 -r ea8bfd33c22a tests/test-merge-tools.t --- a/tests/test-merge-tools.t Sat Mar 13 03:17:00 2021 +0100 +++ b/tests/test-merge-tools.t Mon Mar 22 13:14:11 2021 -0700 @@ -1921,7 +1921,7 @@ Binary files capability checking $ hg update -q -C 0 - $ python < with open('b', 'wb') as fp: > fp.write(b'\x00\x01\x02\x03') > EOF @@ -1929,7 +1929,7 @@ $ hg commit -qm "add binary file (#1)" $ hg update -q -C 0 - $ python < with open('b', 'wb') as fp: > fp.write(b'\x03\x02\x01\x00') > EOF