py3: add b'' prefixes to config options in test/badserverext.py
authorPulkit Goyal <7895pulkit@gmail.com>
Sat, 24 Feb 2018 16:15:16 +0530
changeset 36395 fb7897e53d49
parent 36394 4bc983568016
child 36396 743b293c3ca0
py3: add b'' prefixes to config options in test/badserverext.py Differential Revision: https://phab.mercurial-scm.org/D2418
tests/badserverext.py
--- a/tests/badserverext.py	Sat Feb 24 16:07:45 2018 +0530
+++ b/tests/badserverext.py	Sat Feb 24 16:15:16 2018 +0530
@@ -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,
 )