]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] gh-91676 gh-91260 unittest.IsolatedAsyncioTestCase no longer leaks its executo...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 19 Apr 2022 16:40:52 +0000 (09:40 -0700)
committerGitHub <noreply@github.com>
Tue, 19 Apr 2022 16:40:52 +0000 (09:40 -0700)
commitcb3c85d40d2dfc1d518ebd7afd3d82819e38a390
tree07b8672509286e85d7dfafb4310664df270ce716
parent3b6072e7f5ee5d4263a4c84a74b5ca36ef220ed6
[3.10] gh-91676 gh-91260 unittest.IsolatedAsyncioTestCase no longer leaks its executor (GH-91680)

For things like test_asyncio.test_thread this was causing frequent
"environment modified by test" errors as the executor threads had not
always stopped running after the test was over.
(cherry picked from commit 61570ae0bc1507a62bee9d8b9bc2ff7155da7061)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Lib/unittest/async_case.py
Misc/NEWS.d/next/Library/2022-04-19-04-33-39.gh-issue-91676.ceQBwh.rst [new file with mode: 0644]