Skip to content

bpo-40094: Enhance threading tests #19260

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 31, 2020
Merged

bpo-40094: Enhance threading tests #19260

merged 1 commit into from
Mar 31, 2020

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Mar 31, 2020

  • Rewrite test_thread.test_forkinthread() to use
    support.wait_process() and wait for the child process in the main
    thread, not in the spawned thread.
  • test_threading now uses support.wait_process() and checks the child
    process exit code to detect crashes.

https://bugs.python.org/issue40094

* Rewrite test_thread.test_forkinthread() to use
  support.wait_process() and wait for the child process in the main
  thread, not in the spawned thread.
* test_threading now uses support.wait_process() and checks the child
  process exit code to detect crashes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants