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

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Wed Oct 9 23:24:15 EDT 2019


Closed by commit rHGcd512f2e076d: py3: add a missing b'' 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

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
 



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


More information about the Mercurial-devel mailing list