bpo-45212: Fix dangling threads in skipped tests in test_socket (GH-28361)
tearDown() is not called if setUp() raises an exception (including SkipTest). addCleanup() should be used for guaranteed execution of the cleanup code.
S
Serhiy Storchaka committed
7dacb70485a0910eb298c24b4d051720ca56fb91
Parent: 800bd01
Committed by GitHub <noreply@github.com>
on 9/16/2021, 10:30:00 AM