diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2022-06-18 20:47:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-18 20:47:27 (GMT) |
commit | 6066f450b91f1cbebf33a245c14e660052ccd90a (patch) | |
tree | 127189eacc48e30156c05666da4ff09277a42238 /Misc/NEWS.d/next/Tests | |
parent | dd78aae34bc3c0fcf14b2e7be64e08246ee277cc (diff) | |
download | cpython-6066f450b91f1cbebf33a245c14e660052ccd90a.zip cpython-6066f450b91f1cbebf33a245c14e660052ccd90a.tar.gz cpython-6066f450b91f1cbebf33a245c14e660052ccd90a.tar.bz2 |
gh-93975: Nicer error reporting in test_venv (GH-93959)
- gh-93957: Provide nicer error reporting from subprocesses in test_venv.EnsurePipTest.test_with_pip.
- Update changelog
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.
Diffstat (limited to 'Misc/NEWS.d/next/Tests')
-rw-r--r-- | Misc/NEWS.d/next/Tests/2022-06-17-13-55-11.gh-issue-93957.X4ovYV.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2022-06-17-13-55-11.gh-issue-93957.X4ovYV.rst b/Misc/NEWS.d/next/Tests/2022-06-17-13-55-11.gh-issue-93957.X4ovYV.rst new file mode 100644 index 0000000..2719933 --- /dev/null +++ b/Misc/NEWS.d/next/Tests/2022-06-17-13-55-11.gh-issue-93957.X4ovYV.rst @@ -0,0 +1,2 @@ +Provide nicer error reporting from subprocesses in +test_venv.EnsurePipTest.test_with_pip. |