changeset 40319:eb131464c805

py3: byte-stringify literals in test-keyword.t # skip-blame just some b'' prefixes
author Yuya Nishihara <yuya@tcha.org>
date Tue, 16 Oct 2018 07:19:38 +0200
parents 55fd0fefbec4
children 9b2e1b00ee94
files contrib/python3-whitelist tests/test-keyword.t
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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