changeset 41413:fad627d2047c

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
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 26 Jan 2019 14:08:35 -0800
parents f5cb822625cc
children 031d91623fdc
files tests/flagprocessorext.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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(