[Py3/TestAppleOSSimulator] Another byte<->str interoperability issue.

llvm-svn: 353226
This commit is contained in:
Davide Italiano 2019-02-05 22:24:53 +00:00
parent b33f00f508
commit 76046abbfa
1 changed files with 1 additions and 1 deletions

View File

@ -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