# HG changeset patch # User Gregory Szorc # Date 2018-02-15 00:21:42 # Node ID 30cc9f9780dfcba2d6ca33cd48fd2b2308be2933 # Parent 5c9bdfb32eac5da25832939ffc2bb3a0abbb3073 py3: add b'' to config options in test extension # skip-blame because just b'' prefixes Differential Revision: https://phab.mercurial-scm.org/D2272 diff --git a/tests/sshprotoext.py b/tests/sshprotoext.py --- a/tests/sshprotoext.py +++ b/tests/sshprotoext.py @@ -22,8 +22,8 @@ from mercurial import ( configtable = {} configitem = registrar.configitem(configtable) -configitem('sshpeer', 'mode', default=None) -configitem('sshpeer', 'handshake-mode', default=None) +configitem(b'sshpeer', b'mode', default=None) +configitem(b'sshpeer', b'handshake-mode', default=None) class bannerserver(wireprotoserver.sshserver): """Server that sends a banner to stdout."""