py3: add b'' prefixes to config options in test/badserverext.py
Differential Revision: https://phab.mercurial-scm.org/D2418
--- 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,
)