Mercurial > public > mercurial-scm > hg-stable
diff tests/test-contrib.t @ 22947:c63a09b6b337
tests: use $PYTHON instead of hardcoding python
This makes running the testsuite with pypy possible.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Wed, 15 Oct 2014 15:35:59 -0400 |
parents | 372ae2745acf |
children | ef1eb6df7071 |
line wrap: on
line diff
--- a/tests/test-contrib.t Wed Oct 15 15:13:43 2014 -0400 +++ b/tests/test-contrib.t Wed Oct 15 15:35:59 2014 -0400 @@ -207,7 +207,7 @@ binary file - $ python -c "f = file('binary-local', 'w'); f.write('\x00'); f.close()" + $ $PYTHON -c "f = file('binary-local', 'w'); f.write('\x00'); f.close()" $ cat orig >> binary-local $ python simplemerge -p binary-local base other warning: binary-local looks like a binary file.