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

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Thu Oct 10 00:27:31 UTC 2019


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

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
Cc: mercurial-devel


More information about the Mercurial-devel mailing list