Mercurial > public > mercurial-scm > hg
diff tests/run-tests.py @ 33871:9e8b01d0654f
tests: fixed a bytes/unicode confusion in the test runner
Differential Revision: https://phab.mercurial-scm.org/D483
author | Alex Gaynor <alex.gaynor@gmail.com> |
---|---|
date | Wed, 23 Aug 2017 01:08:09 +0000 |
parents | aa81c7a617dd |
children | 5d2ce90c71f1 |
line wrap: on
line diff
--- 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