diff -r aa81c7a617dd -r 9e8b01d0654f tests/run-tests.py --- a/tests/run-tests.py Tue Aug 22 10:01:27 2017 -0700 +++ b/tests/run-tests.py Wed Aug 23 01:08:09 2017 +0000 @@ -1459,7 +1459,7 @@ if not el.endswith(b" (?)\n"): m = optline.match(el) if m: - conditions = [c for c in m.group(2).split(' ')] + conditions = [c for c in m.group(2).split(b' ')] if self._hghave(conditions)[0]: # Don't append as optional line