commit | ce59ac93626004894c2b291ec599a36cfa9fb0be | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Fri Sep 17 13:11:28 2021 +0300 |
committer | GitHub <noreply@github.com> | Fri Sep 17 13:11:28 2021 +0300 |
tree | 4bc32808d7f7a6eb65ea89024f662761ce07b711 | |
parent | 62c74f34e7541cf5c9780661b260c53617291804 [diff] |
[3.10] bpo-45212: Fix dangling threads in skipped tests in test_socket (GH-28361) (GH-28409) 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 7dacb70485a0910eb298c24b4d051720ca56fb91)