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, 12:33 p.m.
Message ID <c381b9ca68e677d962c6990d824e3e52@localhost.localdomain>
Download mbox | patch
Permalink /patch/32256/
State Not Applicable
Headers show

Comments

phabricator - June 18, 2018, 12:33 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGe53879421ecd: py3: add couple of missing b&#039;&#039; prefixes in tests/test-pager-legacy.t (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3784?vs=9155&id=9167

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