D5811: py3: add some b'' prefixes in test-notify.t

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Sun Feb 3 07:48:40 EST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG02a8c912d2cb: py3: add some b'' prefixes in test-notify.t (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5811?vs=13715&id=13725

REVISION DETAIL
  https://phab.mercurial-scm.org/D5811

AFFECTED FILES
  tests/test-notify.t

CHANGE DETAILS

diff --git a/tests/test-notify.t b/tests/test-notify.t
--- a/tests/test-notify.t
+++ b/tests/test-notify.t
@@ -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



To: pulkit, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list