[3.13] gh-127906: Backport test_cppext changes from the main branch (#127914)

This commit is contained in:
Victor Stinner 2024-12-13 13:51:48 +01:00 committed by GitHub
parent 8384279863
commit b620e503eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 2 deletions

View file

@ -76,6 +76,8 @@ def run_cmd(operation, cmd):
cmd = [python_exe, '-X', 'dev',
'-m', 'pip', 'install', '--no-build-isolation',
os.path.abspath(pkg_dir)]
if support.verbose:
cmd.append('-v')
run_cmd('Install', cmd)
# Do a reference run. Until we test that running python