summaryrefslogtreecommitdiff
path: root/Lib/string.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-09-16 13:30:00 +0300
committerGitHub <noreply@github.com>2021-09-16 13:30:00 +0300
commit7dacb70485a0910eb298c24b4d051720ca56fb91 (patch)
treeeaa8c46a30400d00a57ef20fc28e215971ddd8c4 /Lib/string.py
parent800bd01b6d365156403c3dde61765dc5fdbf64be (diff)
downloadcpython-git-7dacb70485a0910eb298c24b4d051720ca56fb91.tar.gz
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.
Diffstat (limited to 'Lib/string.py')
0 files changed, 0 insertions, 0 deletions