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

login
register
mail settings
Submitter phabricator
Date Oct. 10, 2019, 3:24 a.m.
Message ID <1945139009718ab9f53580895fe8237d@localhost.localdomain>
Download mbox | patch
Permalink /patch/42177/
State Not Applicable
Headers show

Comments

phabricator - Oct. 10, 2019, 3:24 a.m.
Closed by commit rHGcd512f2e076d: py3: add a missing b&#039;&#039; prefix in test extension for chg (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7038?vs=17030&id=17036

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7038/new/

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

AFFECTED FILES
  tests/test-chg.t

CHANGE DETAILS




To: martinvonz, #hg-reviewers, indygreg
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