tests: add b'' prefixes to flagprocessorext.py
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 26 Jan 2019 14:08:35 -0800
changeset 41413 fad627d2047c
parent 41412 f5cb822625cc
child 41414 031d91623fdc
tests: add b'' prefixes to flagprocessorext.py Otherwise a part of test-flavprocessor.t fails due to not setting the proper key. Differential Revision: https://phab.mercurial-scm.org/D5724
tests/flagprocessorext.py
--- a/tests/flagprocessorext.py	Sat Jan 26 14:06:07 2019 -0800
+++ b/tests/flagprocessorext.py	Sat Jan 26 14:08:35 2019 -0800
@@ -107,7 +107,7 @@
 
     # Teach exchange to use changegroup 3
     for k in exchange._bundlespeccontentopts.keys():
-        exchange._bundlespeccontentopts[k]["cg.version"] = "03"
+        exchange._bundlespeccontentopts[k][b"cg.version"] = b"03"
 
     # Register flag processors for each extension
     revlog.addflagprocessor(