]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-152132: Close stderr_copy in test_api.test_run (GH-153591) (#153595)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 11 Jul 2026 22:26:16 +0000 (00:26 +0200)
committerGitHub <noreply@github.com>
Sat, 11 Jul 2026 22:26:16 +0000 (22:26 +0000)
commitb3144d91448f3b4e36f36d73046839aaf40a46d4
treef7d7f8d49c1be0904a2190025543c5bc2e373c73
parent1a9359dcea1f3db1c54bd51fa30ddcafe0ad654a
[3.15] gh-152132: Close stderr_copy in test_api.test_run (GH-153591) (#153595)

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