diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2022-07-01 15:32:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-01 15:32:56 (GMT) |
commit | c4f82ea0de37edee2aca60c0c32df2539a098d7e (patch) | |
tree | f2ccf32ce74654dcb2a0677640b88ef0bbc68b36 /Python/ast_opt.c | |
parent | 02b30a8ef8fe591e7f5ebc00a885811a98f1d357 (diff) | |
download | cpython-c4f82ea0de37edee2aca60c0c32df2539a098d7e.zip cpython-c4f82ea0de37edee2aca60c0c32df2539a098d7e.tar.gz cpython-c4f82ea0de37edee2aca60c0c32df2539a098d7e.tar.bz2 |
[3.11] gh-93975: Provide nicer error reporting from subprocesses in test_venv.EnsurePipTest.test_with_pip (GH-93959) (GH-94003)
This change does three things:
1. Extract a function for trapping output in subprocesses.
2. Emit both stdout and stderr when encountering an error.
3. Apply the change to `ensurepip._uninstall` check.
(cherry picked from commit 6066f450b91f1cbebf33a245c14e660052ccd90a)
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
Diffstat (limited to 'Python/ast_opt.c')
0 files changed, 0 insertions, 0 deletions