diff tests/test-transplant.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 9ab18a912c44
children 501dc6b1ca78
line wrap: on
line diff
--- a/tests/test-transplant.t	Wed Oct 15 15:13:43 2014 -0400
+++ b/tests/test-transplant.t	Wed Oct 15 15:35:59 2014 -0400
@@ -668,7 +668,7 @@
   $ cd twin2
   $ echo '[patch]' >> .hg/hgrc
   $ echo 'eol = crlf' >> .hg/hgrc
-  $ python -c "file('b', 'wb').write('b\r\nb\r\n')"
+  $ $PYTHON -c "file('b', 'wb').write('b\r\nb\r\n')"
   $ hg ci -Am addb
   adding b
   $ hg transplant -s ../twin1 tip