]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39010: Improve test shutdown (#22066)
authorBen Darnell <ben@bendarnell.com>
Thu, 3 Sep 2020 04:58:50 +0000 (00:58 -0400)
committerGitHub <noreply@github.com>
Thu, 3 Sep 2020 04:58:50 +0000 (21:58 -0700)
commitbe435ae2b064dc64f04475bec632862e1dbf605f
tree1e0fce0cbfc8f065bc390fbc0f34d70e4f8e5e23
parent0770ad948cb6d9f7f6c4002efd83e27c27069808
bpo-39010: Improve test shutdown (#22066)

Simply closing the event loop isn't enough to avoid warnings. If we
don't also shut down the event loop's default executor, it sometimes
logs a "dangling thread" warning.

Follow-up to GH-22017
Lib/test/test_asyncio/test_windows_events.py