]> granicus.if.org Git - python/commit
bpo-37261: Fix support.catch_unraisable_exception() (GH-14052)
authorVictor Stinner <vstinner@redhat.com>
Thu, 13 Jun 2019 12:44:54 +0000 (14:44 +0200)
committerGitHub <noreply@github.com>
Thu, 13 Jun 2019 12:44:54 +0000 (14:44 +0200)
commit6d22cc8e90ccb1e1965b1a4bc79456e2cc1e5a3e
tree5cabdc22f81daacb1ce82a3975580dc3f4261a3c
parent63ab4ba07b492448844940c347787ba30735b7f2
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.
Doc/library/test.rst
Lib/test/support/__init__.py
Misc/NEWS.d/next/Tests/2019-06-13-12-19-56.bpo-37261.NuKFVo.rst [new file with mode: 0644]