bpo-40275: Adding a threading_helper in test.support#20263
bpo-40275: Adding a threading_helper in test.support#20263vstinner merged 8 commits intopython:masterfrom
Conversation
vstinner
left a comment
There was a problem hiding this comment.
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