-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-40275: Adding a threading_helper in test.support #20263
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I would prefer to get @serhiy-storchaka review on this PR since it changes many tests.
Sure, my eyes can't see clealy after changed those tests ; ) |
Hum, sadly threading is still imported indirectly by subprocess and platform, and so this PR is not enough. But I merge the PR anyway to ease @shihai1991 work, since it's a huge PR and so it's hard to maintain. Overall, it enhances test.support anyway ;-) I will work on following changes to import platform and subprocess lazily. |
A question relevant to the test.support APIs this PR introduced: https://discuss.python.org/t/test-harness-for-leakage-detection-does-threading-setup-duplicates-saved-test-environment/17097 |
This PR did not introduce any new API. It is a pure refactoring. |
https://bugs.python.org/issue40275