[Python 3] Decode check_ouput result as UTF-8
llvm-svn: 364325
diff --git a/debuginfo-tests/lit.cfg.py b/debuginfo-tests/lit.cfg.py
index c47f453..126f6a0 100644
--- a/debuginfo-tests/lit.cfg.py
+++ b/debuginfo-tests/lit.cfg.py
@@ -89,7 +89,7 @@
if platform.system() == 'Darwin':
import subprocess
- xcode_lldb_vers = subprocess.check_output(['xcrun', 'lldb', '--version'])
+ xcode_lldb_vers = subprocess.check_output(['xcrun', 'lldb', '--version']).decode("utf-8")
match = re.search('lldb-(\d+)', xcode_lldb_vers)
if match:
apple_lldb_vers = int(match.group(1))