# HG changeset patch # User Matt Harbison # Date 2018-09-13 01:32:08 # Node ID 4eb0f2452ad7008417a6d3d7923b21078f2a1841 # Parent f15a587d2dfc91342d9b90ccf273f20b86fe14f4 py3: add b'' to some run-tests.py strings for Windows Things go seriously off the rails after this, so there may be more that are missing. # skip-blame since these are just converting to bytes literals diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -3118,8 +3118,8 @@ class TestRunner(object): def _checktools(self): """Ensure tools required to run tests are present.""" for p in self.REQUIREDTOOLS: - if os.name == 'nt' and not p.endswith('.exe'): - p += '.exe' + if os.name == 'nt' and not p.endswith(b'.exe'): + p += b'.exe' found = self._findprogram(p) if found: vlog("# Found prerequisite", p, "at", found)