◐ Shell
clean mode source ↗

[3.9] bpo-45212: Fix dangling threads in skipped tests in test_socket (GH-28361) by miss-islington · Pull Request #28384 · python/cpython

tearDown() is not called if setUp() raises an exception
(including SkipTest). addCleanup() should be used for guaranteed
execution of the cleanup code.
(cherry picked from commit 7dacb70)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

https://bugs.python.org/issue45212