X Tutup
Skip to content

bpo-40094: Enhance threading tests#19260

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:test_threading
Mar 31, 2020
Merged

bpo-40094: Enhance threading tests#19260
vstinner merged 1 commit intopython:masterfrom
vstinner:test_threading

Conversation

@vstinner
Copy link
Copy Markdown
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

X Tutup