bpo-37261: Fix support.catch_unraisable_exception() (GH-14052)


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 6d22cc8e90ccb1e1965b1a4bc79456e2cc1e5a3e)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
3 files changed