summaryrefslogtreecommitdiffstats
path: root/Python/dynload_shlib.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-09-12 17:49:22 (GMT)
committerGitHub <noreply@github.com>2017-09-12 17:49:22 (GMT)
commita15d155aadfad232158f530278505cdc6f326f93 (patch)
treeaad39ebdbebba4084b87f7c824f8655edabe64bd /Python/dynload_shlib.c
parentd056818ed2ade6d28190a375d7183f4aef9caa55 (diff)
downloadcpython-a15d155aadfad232158f530278505cdc6f326f93.zip
cpython-a15d155aadfad232158f530278505cdc6f326f93.tar.gz
cpython-a15d155aadfad232158f530278505cdc6f326f93.tar.bz2
bpo-31234: Enhance test_thread.test_forkinthread() (#3516)
* test_thread.test_forkinthread() now waits until the thread completes. * Check the status in the test method, not in the thread function * Don't ignore RuntimeError anymore: since the commit 346cbd351ee0dd3ab9cb9f0e4cb625556707877e (bpo-16500, os.register_at_fork(), os.fork() cannot fail anymore with RuntimeError. * Replace 0.01 literal with a new POLL_SLEEP constant * test_forkinthread(): test if os.fork() exists rather than testing the platform.
Diffstat (limited to 'Python/dynload_shlib.c')
0 files changed, 0 insertions, 0 deletions