Skip to content

Commit 99855ff

Browse files
authored
Merge pull request #1528 from compnerd/lit
Make lit TestRunner.py work in Python 3
2 parents dbcb9ca + 790ad65 commit 99855ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/utils/lit/lit/TestRunner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1163,7 +1163,7 @@ def processLine(ln):
11631163
# short-lived, since the set of substitutions is fairly small, and
11641164
# since thrashing has such bad consequences, not bounding the cache
11651165
# seems reasonable.
1166-
ln = _caching_re_compile(a).sub(b, ln)
1166+
ln = _caching_re_compile(a).sub(str(b), ln)
11671167

11681168
# Strip the trailing newline and any extra whitespace.
11691169
return ln.strip()

0 commit comments

Comments
 (0)