tests/test-diffstat.t
changeset 35570 3e3f4c03876b
parent 35454 786289423e97
child 37367 87c4253bebdb
--- a/tests/test-diffstat.t	Wed Jan 10 08:53:22 2018 -0800
+++ b/tests/test-diffstat.t	Fri Dec 29 03:37:36 2017 +0530
@@ -35,7 +35,7 @@
 
   $ hg ci -m appenda
 
-  >>> open("c", "wb").write("\0")
+  >>> open("c", "wb").write(b"\0")
   $ touch d
   $ hg add c d
 
@@ -54,7 +54,7 @@
 
   $ hg ci -m createb
 
-  >>> open("file with spaces", "wb").write("\0")
+  >>> open("file with spaces", "wb").write(b"\0")
   $ hg add "file with spaces"
 
 Filename with spaces diffstat: