changeset 38368:e53879421ecd

py3: add couple of missing b'' prefixes in tests/test-pager-legacy.t # skip-blame because just b'' prefixes Differential Revision: https://phab.mercurial-scm.org/D3784
author Pulkit Goyal <7895pulkit@gmail.com>
date Mon, 18 Jun 2018 15:23:25 +0530
parents 2ceea1554d1e
children a6426dd3210d
files tests/test-pager-legacy.t
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-pager-legacy.t	Thu Jun 14 15:17:47 2018 -0700
+++ b/tests/test-pager-legacy.t	Mon Jun 18 15:23:25 2018 +0530
@@ -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