# HG changeset patch # User Matt Harbison # Date 2018-09-17 03:13:05 # Node ID b6fa1f628bbe706b9ec031511d899adc67c53a24 # Parent 50f46b771921b7d17f3d3e5392119bfa075a2e78 run-tests: convert the remaining os.system() call to Unicode I wasn't able to hit this path in 543a788eea2d, but I have now when I accidentally left off `--local`. diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -2976,7 +2976,7 @@ class TestRunner(object): makedirs(self._bindir) vlog("# Running", cmd) - if os.system(cmd) == 0: + if os.system(_strpath(cmd)) == 0: if not self.options.verbose: try: os.remove(installerrs)