Mercurial > public > mercurial-scm > hg-stable
diff tests/test-import-bypass.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 | ffaaa80fa724 |
children | 093e8a5e995f |
line wrap: on
line diff
--- a/tests/test-import-bypass.t Wed Oct 15 15:13:43 2014 -0400 +++ b/tests/test-import-bypass.t Wed Oct 15 15:35:59 2014 -0400 @@ -143,7 +143,7 @@ (this also tests that editor is not invoked for '--bypass', if the commit message is explicitly specified, regardless of '--edit') - $ python -c 'file("a", "wb").write("a\r\n")' + $ $PYTHON -c 'file("a", "wb").write("a\r\n")' $ hg ci -m makeacrlf $ HGEDITOR=cat hg import -m 'should fail because of eol' --edit --bypass ../test.diff applying ../test.diff