Skip to content

Commit e7907ec

Browse files
authored
Remove pipes module from pseudo-swiftc test
The pipes module was removed in Python 3.13.
1 parent 3841d6a commit e7907ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/SwiftBuildTool/Inputs/pseudo-swiftc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import argparse
55
import json
66
import os
7-
import pipes
7+
import shlex
88
import sys
99

1010
def main():
@@ -47,7 +47,7 @@ def main():
4747

4848
# If run in show commands mode, print some dummy output.
4949
if args.show_commands:
50-
print(' '.join(map(pipes.quote, [
50+
print(' '.join(map(shlex.quote, [
5151
sys.argv[0], "-frontend", "...blablabla..."])))
5252
return
5353

0 commit comments

Comments
 (0)