-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-31516: Skip test_main_thread_during_shutdown() with COUNT_ALLOCS builds #8052
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
bpo-31516: Skip test_main_thread_during_shutdown() with COUNT_ALLOCS builds #8052
Conversation
i'm curious, how does the test fail and why? |
@pitrou I can reproduce it with the current master with this error:
The missing |
@pablogsal Based on the precedent set in https://bugs.python.org/issue19527, the proper solution (in this case) is to skip the test with |
Thanks @ZackerySpytz for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7. |
…builds. (pythonGH-8052) (cherry picked from commit 65d2f8c) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
GH-9813 is a backport of this pull request to the 3.7 branch. |
…builds. (pythonGH-8052) (cherry picked from commit 65d2f8c) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
GH-9814 is a backport of this pull request to the 3.6 branch. |
test_main_thread_during_shutdown()
(in test_threading) fails when CPython is built withCOUNT_ALLOCS
. This test should have therequires_type_collecting
decorator.https://bugs.python.org/issue31516