[3.9] bpo-39010: Improve test shutdown (GH-22066) by miss-islington · Pull Request #22082 · python/cpython
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
(cherry picked from commit be435ae)
Co-authored-by: Ben Darnell ben@bendarnell.com
https://bugs.python.org/issue39010
Automerge-Triggered-By: @1st1