Skip to content

Commit dbf9b8c

Browse files
authored
Merge pull request #510 from sookach/pr/remove-pipes
Remove `pipes` module from LIT tests
2 parents 5c7856d + 35b964c commit dbf9b8c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Tests/Functional/lit.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import tempfile
1414
import shlex
1515
import sys
1616
import lit
17-
import pipes
1817
import re
1918

2019
# Set up lit config.
@@ -141,7 +140,7 @@ xctest_checker = os.path.join(
141140
config.substitutions.append(('%{xctest_checker}', '%%{python} %s' % xctest_checker))
142141

143142
# Add Python to run xctest_checker.py tests as part of XCTest tests
144-
config.substitutions.append( ('%{python}', pipes.quote(sys.executable)) )
143+
config.substitutions.append( ('%{python}', shlex.quote(sys.executable)) )
145144

146145
# Conditionally report the Swift 5.5 Concurrency runtime as available depending on the OS and version.
147146
# Darwin is the only platform where this is a limitation.

0 commit comments

Comments
 (0)