Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jun 3, 2019

Modify test_coroutines, test_cprofile, test_generators, test_raise,
test_ssl and test_yield_from to use
support.catch_unraisable_exception() rather than
support.captured_stderr().

test_thread: remove test_save_exception_state_on_error() which is now
updated. test_unraisable_exception() checks that sys.unraisablehook()
is called to handle _thread.start_new_thread() exception.

test_cprofile now rely on unittest for test discovery: replace
support.run_unittest() with unittest.main().

https://bugs.python.org/issue37069

Modify test_coroutines, test_cprofile, test_generators, test_raise,
test_ssl and test_yield_from to use
support.catch_unraisable_exception() rather than
support.captured_stderr().

test_thread: remove test_save_exception_state_on_error() which is now
updated. test_unraisable_exception() checks that sys.unraisablehook()
is called to handle _thread.start_new_thread() exception.

test_cprofile now rely on unittest for test discovery: replace
support.run_unittest() with unittest.main().
@vstinner
Copy link
Member Author

vstinner commented Jun 3, 2019

Travis CI: "Documentation tests" failed with:

Warning, treated as error:
duplicate object description of email.message, other instance in library/email.message, use :noindex: for one of them

@vstinner
Copy link
Member Author

vstinner commented Jun 3, 2019

Travis CI: "Documentation tests" failed with: (...)

https://bugs.python.org/issue37136

@vstinner vstinner merged commit 0025350 into python:master Jun 3, 2019
@vstinner vstinner deleted the catch_unraisable branch June 3, 2019 01:51
DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
Modify test_coroutines, test_cprofile, test_generators, test_raise,
test_ssl and test_yield_from to use
support.catch_unraisable_exception() rather than
support.captured_stderr().

test_thread: remove test_save_exception_state_on_error() which is now
updated. test_unraisable_exception() checks that sys.unraisablehook()
is called to handle _thread.start_new_thread() exception.

test_cprofile now rely on unittest for test discovery: replace
support.run_unittest() with unittest.main().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants