changeset 41526:1be7a9b994a2

py3: add some b'' prefixes in test-notify.t # skip-blame as just b'' prefixes Differential Revision: https://phab.mercurial-scm.org/D5811
author Pulkit Goyal <pulkit@yandex-team.ru>
date Sun, 03 Feb 2019 17:15:11 +0530
parents f3d3e09a29d1
children eb37d95cc486
files tests/test-notify.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-notify.t	Sun Feb 03 17:05:47 2019 +0530
+++ b/tests/test-notify.t	Sun Feb 03 17:15:11 2019 +0530
@@ -455,7 +455,7 @@
   > test = False
   > mbox = mbox
   > EOF
-  $ "$PYTHON" -c 'open("a/a", "ab").write("no" * 500 + "\xd1\x84" + "\n")'
+  $ "$PYTHON" -c 'open("a/a", "ab").write(b"no" * 500 + b"\xd1\x84" + b"\n")'
   $ hg --cwd a commit -A -m "long line"
   $ hg --traceback --cwd b pull ../a
   pulling from ../a