diff tests/test-diff-newlines.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 405b6bd015df
children aaa1f8f514cf
line wrap: on
line diff
--- a/tests/test-diff-newlines.t	Wed Oct 15 15:13:43 2014 -0400
+++ b/tests/test-diff-newlines.t	Wed Oct 15 15:35:59 2014 -0400
@@ -1,6 +1,6 @@
   $ hg init
 
-  $ python -c 'file("a", "wb").write("confuse str.splitlines\nembedded\rnewline\n")'
+  $ $PYTHON -c 'file("a", "wb").write("confuse str.splitlines\nembedded\rnewline\n")'
   $ hg ci -Ama -d '1 0'
   adding a