From 76046abbfa474300be9cac06442a6927c3cdd611 Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Tue, 5 Feb 2019 22:24:53 +0000 Subject: [PATCH] [Py3/TestAppleOSSimulator] Another byte<->str interoperability issue. llvm-svn: 353226 --- .../test/tools/lldb-server/TestAppleSimulatorOSType.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestAppleSimulatorOSType.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestAppleSimulatorOSType.py index d10a9abfb13d..cf01359fce8e 100644 --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestAppleSimulatorOSType.py +++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestAppleSimulatorOSType.py @@ -15,7 +15,7 @@ class TestAppleSimulatorOSType(gdbremote_testcase.GdbRemoteTestCaseBase): def check_simulator_ostype(self, sdk, platform, arch='x86_64'): sim_devices_str = subprocess.check_output(['xcrun', 'simctl', 'list', - '-j', 'devices']) + '-j', 'devices']).decode("utf-8") sim_devices = json.loads(sim_devices_str)['devices'] # Find an available simulator for the requested platform deviceUDID = None