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

login
register
mail settings
Submitter phabricator
Date Feb. 3, 2019, 12:48 p.m.
Message ID <ae07ad185850aeb7aa771676828c0ab7@localhost.localdomain>
Download mbox | patch
Permalink /patch/38350/
State Not Applicable
Headers show

Comments

phabricator - Feb. 3, 2019, 12:48 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG02a8c912d2cb: py3: add some b&#039;&#039; 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




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

Patch

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