summaryrefslogtreecommitdiff
path: root/tests/test-diff-newlines.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-diff-newlines.t')
-rw-r--r--tests/test-diff-newlines.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-diff-newlines.t b/tests/test-diff-newlines.t
index 565b756..523b319 100644
--- a/tests/test-diff-newlines.t
+++ b/tests/test-diff-newlines.t
@@ -1,6 +1,6 @@
$ hg init
- $ python -c 'file("a", "wb").write("confuse str.splitlines\nembedded\rnewline\n")'
+ $ python -c 'print "confuse str.splitlines\nembedded\rnewline"' > a
$ hg ci -Ama -d '1 0'
adding a