]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-152132: Close stderr_copy in test_api.test_run (GH-153591) (#153596)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 11 Jul 2026 22:21:06 +0000 (00:21 +0200)
committerGitHub <noreply@github.com>
Sat, 11 Jul 2026 22:21:06 +0000 (22:21 +0000)
commitb587c54bbe21a87865fdb5ba9e67a4a287707bd5
treeeab50798b35e0087c163ed03dd86457d410c5bf1
parent23b867f708cb82b50660e891fd4b8fed0c088d06
[3.14] gh-152132: Close stderr_copy in test_api.test_run (GH-153591) (#153596)

gh-152132: Close stderr_copy in test_api.test_run (GH-153591)

Previously, the test was leaking a file descriptor.
(cherry picked from commit 0023d5b23df09f18425fea9b9c54a37ba050d5cf)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_capi/test_run.py