py3: add some b'' prefixes in test-notify.t
authorPulkit Goyal <pulkit@yandex-team.ru>
Sun, 03 Feb 2019 17:15:11 +0530
changeset 41526 1be7a9b994a2
parent 41525 f3d3e09a29d1
child 41527 eb37d95cc486
py3: add some b'' prefixes in test-notify.t # skip-blame as just b'' prefixes Differential Revision: https://phab.mercurial-scm.org/D5811
tests/test-notify.t
--- 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