From 9506d5e88780a68ae66a7960ca6a37e8b3451277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= Date: Tue, 16 Jul 2024 09:11:08 +0200 Subject: [PATCH] tests: Python 3.13 compat --- llvm/test/Bindings/Go/lit.local.cfg | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/llvm/test/Bindings/Go/lit.local.cfg b/llvm/test/Bindings/Go/lit.local.cfg index 91a0ad8..4da83a1 100644 --- a/llvm/test/Bindings/Go/lit.local.cfg +++ b/llvm/test/Bindings/Go/lit.local.cfg @@ -1,5 +1,4 @@ import os -import pipes import shlex import sys @@ -56,7 +55,7 @@ def fixup_compiler_path(compiler): except (AttributeError, OSError): pass - return ' '.join([pipes.quote(arg) for arg in args]) + return ' '.join([shlex.quote(arg) for arg in args]) config.environment['CC'] = fixup_compiler_path(config.host_cc) config.environment['CXX'] = fixup_compiler_path(config.host_cxx) -- 2.45.2