diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2021-09-17 10:11:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-17 10:11:28 (GMT) |
commit | ce59ac93626004894c2b291ec599a36cfa9fb0be (patch) | |
tree | 4bc32808d7f7a6eb65ea89024f662761ce07b711 /Python/mysnprintf.c | |
parent | 62c74f34e7541cf5c9780661b260c53617291804 (diff) | |
download | cpython-ce59ac93626004894c2b291ec599a36cfa9fb0be.zip cpython-ce59ac93626004894c2b291ec599a36cfa9fb0be.tar.gz cpython-ce59ac93626004894c2b291ec599a36cfa9fb0be.tar.bz2 |
[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)
Diffstat (limited to 'Python/mysnprintf.c')
0 files changed, 0 insertions, 0 deletions