Patchwork [09,of,11] py3: add missing b'' in test-arbitraryfilectx.t

login
register
mail settings
Submitter Pulkit Goyal
Date Feb. 23, 2018, 6:15 p.m.
Message ID <1e72b28e804b014573a8.1519409722@workspace>
Download mbox | patch
Permalink /patch/28292/
State Accepted
Headers show

Comments

Pulkit Goyal - Feb. 23, 2018, 6:15 p.m.
# HG changeset patch
# User Pulkit Goyal <7895pulkit@gmail.com>
# Date 1519389740 -19800
#      Fri Feb 23 18:12:20 2018 +0530
# Node ID 1e72b28e804b014573a8e156ae46129f44979c51
# Parent  a2b469c5995b4c2602f1bb1c3959d67ee9c08141
py3: add missing b'' in test-arbitraryfilectx.t

# skip-blame as just b'' prefix

Patch

diff --git a/tests/test-arbitraryfilectx.t b/tests/test-arbitraryfilectx.t
--- a/tests/test-arbitraryfilectx.t
+++ b/tests/test-arbitraryfilectx.t
@@ -5,7 +5,7 @@  Setup:
   > from mercurial import commands, context, registrar
   > cmdtable = {}
   > command = registrar.command(cmdtable)
-  > @command(b'eval', [], 'hg eval CMD')
+  > @command(b'eval', [], b'hg eval CMD')
   > def eval_(ui, repo, *cmds, **opts):
   >     cmd = b" ".join(cmds)
   >     res = str(eval(cmd, globals(), locals()))