tests/test-diff-newlines.t
changeset 15522 cf0f3cb8a332
parent 12942 05fffd665170
child 17742 405b6bd015df
--- a/tests/test-diff-newlines.t	Wed Nov 16 03:45:14 2011 +0100
+++ b/tests/test-diff-newlines.t	Wed Nov 16 03:45:14 2011 +0100
@@ -1,6 +1,6 @@
   $ hg init
 
-  $ python -c 'print "confuse str.splitlines\nembedded\rnewline"' > a
+  $ python -c 'file("a", "wb").write("confuse str.splitlines\nembedded\rnewline\n")'
   $ hg ci -Ama -d '1 0'
   adding a