Skip to content

Commit 2ea2d23

Browse files
authored
Merge pull request #33130 from compnerd/python-path
test: decode the output of `lldb -P` as UTF-8
2 parents 6a68525 + 718d812 commit 2ea2d23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/lit.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def get_lldb_python_path(lldb_build_root):
102102
lldb_path = os.path.join(lldb_build_root, 'bin', 'lldb')
103103
if not os.access(lldb_path, os.F_OK):
104104
return None
105-
return subprocess.check_output([lldb_path, "-P"]).rstrip()
105+
return subprocess.check_output([lldb_path, "-P"]).rstrip().decode('utf-8')
106106

107107
###
108108

0 commit comments

Comments
 (0)