py3: byte-stringify literals in test-keyword.t
authorYuya Nishihara <yuya@tcha.org>
Tue, 16 Oct 2018 07:19:38 +0200
changeset 40319 eb131464c805
parent 40318 55fd0fefbec4
child 40320 9b2e1b00ee94
py3: byte-stringify literals in test-keyword.t # skip-blame just some b'' prefixes
contrib/python3-whitelist
tests/test-keyword.t
--- a/contrib/python3-whitelist	Tue Oct 16 07:18:30 2018 +0200
+++ b/contrib/python3-whitelist	Tue Oct 16 07:19:38 2018 +0200
@@ -291,6 +291,7 @@
 test-journal-exists.t
 test-journal-share.t
 test-journal.t
+test-keyword.t
 test-known.t
 test-largefiles-cache.t
 test-largefiles-misc.t
--- a/tests/test-keyword.t	Tue Oct 16 07:18:30 2018 +0200
+++ b/tests/test-keyword.t	Tue Oct 16 07:19:38 2018 +0200
@@ -1423,9 +1423,9 @@
   ...     # hello block
   ...     readchannel(server)
   ... 
-  ...     runcommand(server, ['cat', 'm'])
-  ...     runcommand(server, ['diff', '-c', '.', 'm'])
-  ...     runcommand(server, ['cat', 'm'])
+  ...     runcommand(server, [b'cat', b'm'])
+  ...     runcommand(server, [b'diff', b'-c', b'.', b'm'])
+  ...     runcommand(server, [b'cat', b'm'])
   *** runcommand cat m
   $Id: m 800511b3a22d Thu, 01 Jan 1970 00:00:00 +0000 test $
   bar