tests/test-hgweb-commands.t
changeset 39430 c3491d3f8984
parent 38931 5caee9f923ae
child 39621 23b749b84b8a
--- a/tests/test-hgweb-commands.t	Tue Sep 04 17:33:22 2018 +0300
+++ b/tests/test-hgweb-commands.t	Tue Sep 04 17:33:59 2018 +0300
@@ -26,7 +26,7 @@
   $ hg ci -Ambranch
   $ hg branch unstable
   marked working directory as branch unstable
-  >>> open('msg', 'wb').write('branch commit with null character: \0\n')
+  >>> open('msg', 'wb').write(b'branch commit with null character: \0\n')
   $ hg ci -l msg
   $ rm msg