Fix one dangling utf8 decode call needed for python 3.
With this change, the tests should run fine on Python3 on Macs.
Python2 should work fine as well :).
@@ -43,7 +43,7 @@ class XcodeInfo(object):
def _XcodeVersion(self):
lines = subprocess.check_output(['xcodebuild', '-version']).splitlines()
- version = ''.join(lines[0].split()[-1].split('.'))
+ version = ''.join(lines[0].decode('utf-8').split()[-1].split('.'))
version = (version + '0' * (3 - len(version))).zfill(4)
return version, lines[-1].split()[-1]
