]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-152132: Close stderr_copy in test_api.test_run (GH-153591) (#153597)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 11 Jul 2026 22:19:27 +0000 (00:19 +0200)
committerGitHub <noreply@github.com>
Sat, 11 Jul 2026 22:19:27 +0000 (22:19 +0000)
commit511a7519a43e18d384ed2aefa38bf58f3f537f4c
treed5da02e13bc5c723fc99ed526d2dfeaf5ba58a60
parentcaa4be2d4972ab9cc6bf509b723ec50a0f599f88
[3.13] gh-152132: Close stderr_copy in test_api.test_run (GH-153591) (#153597)

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