Patchwork D3784: py3: add couple of missing b'' prefixes in tests/test-pager-legacy.t

login
register
mail settings
Submitter phabricator
Date June 18, 2018, 10:22 a.m.
Message ID <differential-rev-PHID-DREV-ic73ttnztc6wojnlsnv5-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/32245/
State Superseded
Headers show

Comments

phabricator - June 18, 2018, 10:22 a.m.
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  1. skip-blame because just b'' prefixes

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  tests/test-pager-legacy.t

CHANGE DETAILS




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

Patch

diff --git a/tests/test-pager-legacy.t b/tests/test-pager-legacy.t
--- a/tests/test-pager-legacy.t
+++ b/tests/test-pager-legacy.t
@@ -247,9 +247,9 @@ 
   > from mercurial import registrar, commands
   > cmdtable = {}
   > command = registrar.command(cmdtable)
-  > @command(b'fortytwo', [], 'fortytwo', norepo=True)
+  > @command(b'fortytwo', [], b'fortytwo', norepo=True)
   > def fortytwo(ui, *opts):
-  >     ui.write('42\n')
+  >     ui.write(b'42\n')
   >     return 42
   > EOF