diff tests/test-notify.t @ 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 7b35209ba1a7
children d26a6706b070
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