Mercurial > hg
diff tests/badserverext.py @ 36395:fb7897e53d49
py3: add b'' prefixes to config options in test/badserverext.py
Differential Revision: https://phab.mercurial-scm.org/D2418
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sat, 24 Feb 2018 16:15:16 +0530 |
parents | c077eac329e2 |
children | aacfca6f9767 |
line wrap: on
line diff
--- 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, )