commit | a9f9687a7ce25e7c0c89f88f52db323104668ae0 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Tue Mar 31 21:49:44 2020 +0200 |
committer | GitHub <noreply@github.com> | Tue Mar 31 21:49:44 2020 +0200 |
tree | 0049f147ffb3311373bb5a5501457d73796e7474 | |
parent | 27c6231f5827fe17c6cb6f097391931f30b511ec [diff] |
bpo-40094: Enhance threading tests (GH-19260) * 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.