-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
bpo-45212: Fix dangling threads in skipped tests in test_socket #28361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-45212: Fix dangling threads in skipped tests in test_socket #28361
Conversation
tearDown() is not called if setUp() raises an exception (including SkipTest). addCleanup() should be used for guaranteed execution of the cleanup code.
🤖 New build scheduled with the buildbot fleet by @serhiy-storchaka for commit 2a37255 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10. |
Sorry @serhiy-storchaka, I had trouble checking out the |
GH-28384 is a backport of this pull request to the 3.9 branch. |
…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 <[email protected]>
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10. |
GH-28385 is a backport of this pull request to the 3.10 branch. |
…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 <[email protected]>
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9. |
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10. |
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10. |
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9. |
…pythonGH-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 <[email protected]>
GH-28408 is a backport of this pull request to the 3.9 branch. |
pythonGH-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 <[email protected]>
GH-28409 is a backport of this pull request to the 3.10 branch. |
tearDown() is not called if setUp() raises an exception
(including SkipTest). addCleanup() should be used for guaranteed
execution of the cleanup code.
https://bugs.python.org/issue45212