[3.6] bpo-31234: Add test.support.wait_threads_exit() (GH-3578) by vstinner · Pull Request #7315 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Merged
Conversation
Member
- bpo-31234: Try to fix lock_tests warning (bpo-31234: Try to fix lock_tests warning #3557)
- bpo-31234: Add test.support.wait_threads_exit() (bpo-31234: Add test.support.wait_threads_exit() #3578)
vstinner added 2 commits
Use _thread.count() to wait until threads exit. The new context manager prevents the "dangling thread" warning. (cherry picked from commit ff40ecd)
Try to fix the "Warning -- threading_cleanup() failed to cleanup 1 threads" warning in test.lock_tests: wait a little bit longer to give time to the threads to complete. Warning seen on test_thread and test_importlib. (cherry picked from commit 096ae33)
vstinner
added
the
skip news
label
the-knights-who-say-ni
added
the
CLA signed
label
bedevere-bot
added
the
awaiting merge
label
vstinner
merged commit
5dbb48a
into
python:3.6
bedevere-bot
removed
the
awaiting merge
label
vstinner
deleted the
wait_threads_exit36
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment