tests/test-hgweb-json.t
changeset 41461 c67f55b02f02
parent 40157 a8be613391d1
child 42541 3de4f17f4824
--- a/tests/test-hgweb-json.t	Mon Jan 28 18:00:14 2019 -0800
+++ b/tests/test-hgweb-json.t	Tue Jan 29 11:51:19 2019 -0800
@@ -2196,7 +2196,8 @@
 Commit message with Japanese Kanji 'Noh', which ends with '\x5c'
 
   $ echo foo >> da/foo
-  $ HGENCODING=cp932 hg ci -m `"$PYTHON" -c 'print("\x94\x5c")'`
+  >>> open('msg', 'wb').write(b'\x94\x5c\x0a') and None
+  $ HGENCODING=cp932 hg ci -l msg
 
 Commit message with null character