]> granicus.if.org Git - python/commit
bpo-36829: Add test.support.catch_unraisable_exception() (GH-13490)
authorVictor Stinner <vstinner@redhat.com>
Wed, 22 May 2019 21:44:02 +0000 (23:44 +0200)
committerGitHub <noreply@github.com>
Wed, 22 May 2019 21:44:02 +0000 (23:44 +0200)
commite4d300e07c33a9a77549c62d8687d8fe130c53d5
tree165c92b9c1ff6f78bbffbcb4c7d68979091fc061
parent904e34d4e6b6007986dcc585d5c553ee8ae06f95
bpo-36829: Add test.support.catch_unraisable_exception() (GH-13490)

* Copy test_exceptions.test_unraisable() to
  test_sys.UnraisableHookTest().
* Use catch_unraisable_exception() in test_coroutines,
  test_exceptions, test_generators.
Lib/test/support/__init__.py
Lib/test/test_coroutines.py
Lib/test/test_exceptions.py
Lib/test/test_generators.py
Lib/test/test_sys.py
Misc/NEWS.d/next/Tests/2019-05-22-12-57-15.bpo-36829.e9mRWC.rst [new file with mode: 0644]