]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-109295: Clean up multiprocessing in test_asyncio and test_compileall (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 12 Sep 2023 14:22:43 +0000 (07:22 -0700)
committerGitHub <noreply@github.com>
Tue, 12 Sep 2023 14:22:43 +0000 (16:22 +0200)
commit8acfb42ea313cc2b7b898180820d2997c3971873
treeb8b54f87a11f118c2b4777df136a4bd5bf11fc75
parenta6ed8106e2197e1be220a4419daf71c36766c69e
[3.12] gh-109295: Clean up multiprocessing in test_asyncio and test_compileall (GH-109298) (#109301)

gh-109295: Clean up multiprocessing in test_asyncio and test_compileall (GH-109298)

test_asyncio and test_compileall now clean up multiprocessing by
calling multiprocessing _cleanup_tests(): explicitly clean up
resources and stop background processes like the resource tracker.
(cherry picked from commit 09ea4b8706165fd9474165090a0ba86509abd6c8)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_asyncio/test_events.py
Lib/test/test_compileall.py