bpo-37261: Fix support.catch_unraisable_exception()#14052
Conversation
The __exit__() method of test.support.catch_unraisable_exception context manager now ignores unraisable exception raised when clearing self.unraisable attribute.
tirkarthi
left a comment
There was a problem hiding this comment.
Minor typo suggestions. Is this worth updating Doc/library/test.rst too?
Done. Thanks for the review ;-) |
|
@tirkarthi: Would you mind to review my update PR? |
tirkarthi
left a comment
There was a problem hiding this comment.
One minor typo in code comment that is same as doc change to use resurrect. Doc changes look good to me. Thanks.
Co-Authored-By: Xtreak <tir.karthi@gmail.com>
|
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8. |
|
I'm having trouble backporting to |
|
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8. |
The __exit__() method of test.support.catch_unraisable_exception context manager now ignores unraisable exception raised when clearing self.unraisable attribute. (cherry picked from commit 6d22cc8) Co-authored-by: Victor Stinner <vstinner@redhat.com>
|
GH-14056 is a backport of this pull request to the 3.8 branch. |
The __exit__() method of test.support.catch_unraisable_exception context manager now ignores unraisable exception raised when clearing self.unraisable attribute. (cherry picked from commit 6d22cc8) Co-authored-by: Victor Stinner <vstinner@redhat.com>
The __exit__() method of test.support.catch_unraisable_exception context manager now ignores unraisable exception raised when clearing self.unraisable attribute.
The __exit__() method of test.support.catch_unraisable_exception context manager now ignores unraisable exception raised when clearing self.unraisable attribute.
The exit() method of test.support.catch_unraisable_exception
context manager now ignores unraisable exception raised when clearing
self.unraisable attribute.
https://bugs.python.org/issue37261