tests/test-hgweb-json.t
changeset 40157 a8be613391d1
parent 39903 803b7569c9ea
child 41461 c67f55b02f02
--- a/tests/test-hgweb-json.t	Thu Oct 11 22:01:54 2018 +0200
+++ b/tests/test-hgweb-json.t	Thu Oct 11 22:27:52 2018 +0200
@@ -2201,7 +2201,7 @@
 Commit message with null character
 
   $ echo foo >> da/foo
-  >>> open('msg', 'wb').write('commit with null character: \0\n') and None
+  >>> open('msg', 'wb').write(b'commit with null character: \0\n') and None
   $ hg ci -l msg
   $ rm msg