bpo-36829: Add test.support.catch_unraisable_exception() by vstinner · Pull Request #13490 · python/cpython
* Copy test_exceptions.test_unraisable() to test_sys.UnraisableHookTest(). * test_exceptions.test_unraisable() uses catch_unraisable_exception(); simplify the test. test_sys now checks the exact output. * Use catch_unraisable_exception() in test_coroutines, test_exceptions, test_generators.
vstinner
deleted the
catch_unraisable_exception
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters