diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2022-07-01 15:34:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-01 15:34:11 (GMT) |
commit | 259dd7ee8af54e3328ebf41131364b811c055814 (patch) | |
tree | efe90da9d950e8246ee506f70f847b00a27209e6 /Python/pythonrun.c | |
parent | b8544e18e61a0f4a873b3f4b4b2211822584b63f (diff) | |
download | cpython-259dd7ee8af54e3328ebf41131364b811c055814.zip cpython-259dd7ee8af54e3328ebf41131364b811c055814.tar.gz cpython-259dd7ee8af54e3328ebf41131364b811c055814.tar.bz2 |
[3.10] gh-93975: Provide nicer error reporting from subprocesses in test_venv.EnsurePipTest.test_with_pip (GH-93959) (GH-94004)
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/pythonrun.c')
0 files changed, 0 insertions, 0 deletions