Visitar URL original
[3.9] bpo-45212: Fix dangling threads in skipped tests in test_socket (GH-28361) by miss-islington · Pull Request #28384 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20251011003004/https://github.com/python/cpython/pull/28384
Skip to content

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Sep 16, 2021 •

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

…onGH-28361)

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>
@miss-islington
Copy link
Contributor Author

@serhiy-storchaka: Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington
Copy link
Contributor Author

@serhiy-storchaka: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@serhiy-storchaka: Status check is done, and it's a failure ❌ .

@vstinner
Copy link
Member

Please check my question before merging this backport: https://bugs.python.org/issue45212#msg401941

@miss-islington miss-islington deleted the backport-7dacb70-3.9 branch September 17, 2021 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants