changeset 36172:21f4697ef789

tests: add some b-prefixes on local script in test-histedit-arguments # skip-blame its just more b prefixes and a file in binary mode Differential Revision: https://phab.mercurial-scm.org/D2247
author Augie Fackler <augie@google.com>
date Tue, 13 Feb 2018 18:48:47 -0500
parents f8f1973eaf8a
children 8173eeb69fb3
files tests/test-histedit-arguments.t
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-histedit-arguments.t	Tue Feb 13 18:47:55 2018 -0500
+++ b/tests/test-histedit-arguments.t	Tue Feb 13 18:48:47 2018 -0500
@@ -280,9 +280,9 @@
 --------------------------------------------------------------------
 
   $ $PYTHON <<EOF
-  > fp = open('logfile', 'w')
-  > fp.write('12345678901234567890123456789012345678901234567890' +
-  >          '12345') # there are 5 more columns for 80 columns
+  > fp = open('logfile', 'wb')
+  > fp.write(b'12345678901234567890123456789012345678901234567890' +
+  >          b'12345') # there are 5 more columns for 80 columns
   > 
   > # 2 x 4 = 8 columns, but 3 x 4 = 12 bytes
   > fp.write(u'\u3042\u3044\u3046\u3048'.encode('utf-8'))