Patchwork D2418: py3: add b'' prefixes to config options in test/badserverext.py

login
register
mail settings
Submitter phabricator
Date Feb. 24, 2018, 11:18 a.m.
Message ID <differential-rev-PHID-DREV-vaxr43ebwjmwo5zmemtx-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/28315/
State Superseded
Headers show

Comments

phabricator - Feb. 24, 2018, 11:18 a.m.
pulkit 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/D2418

AFFECTED FILES
  tests/badserverext.py

CHANGE DETAILS




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

Patch

diff --git a/tests/badserverext.py b/tests/badserverext.py
--- a/tests/badserverext.py
+++ b/tests/badserverext.py
@@ -44,16 +44,16 @@ 
 configtable = {}
 configitem = registrar.configitem(configtable)
 
-configitem('badserver', 'closeafteraccept',
+configitem(b'badserver', b'closeafteraccept',
     default=False,
 )
-configitem('badserver', 'closeafterrecvbytes',
+configitem(b'badserver', b'closeafterrecvbytes',
     default=0,
 )
-configitem('badserver', 'closeaftersendbytes',
+configitem(b'badserver', b'closeaftersendbytes',
     default=0,
 )
-configitem('badserver', 'closebeforeaccept',
+configitem(b'badserver', b'closebeforeaccept',
     default=False,
 )