Patchwork D7038: py3: add a missing b'' prefix in test extension for chg

login
register
mail settings
Submitter phabricator
Date Oct. 10, 2019, 12:27 a.m.
Message ID <differential-rev-PHID-DREV-g7xr55slq3dqzgdr4yuy-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/42171/
State Superseded
Headers show

Comments

phabricator - Oct. 10, 2019, 12:27 a.m.
martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  tests/test-chg.t

CHANGE DETAILS




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

Patch

diff --git a/tests/test-chg.t b/tests/test-chg.t
--- a/tests/test-chg.t
+++ b/tests/test-chg.t
@@ -127,7 +127,7 @@ 
   > command = registrar.command(cmdtable)
   > @command(b'crash')
   > def pagercrash(ui, repo, *pats, **opts):
-  >     ui.write('going to crash\n')
+  >     ui.write(b'going to crash\n')
   >     raise Exception('.')
   > EOF