bpo-31516: Skip test_main_thread_during_shutdown() with COUNT_ALLOCS … · python/cpython@c327a54 (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit c327a54
and
authored
bpo-31516: Skip test_main_thread_during_shutdown() with COUNT_ALLOCS builds. (GH-8052)
(cherry picked from commit 65d2f8c) Co-authored-by: Zackery Spytz zspytz@gmail.com
File tree
1 file changed
lines changed
1 file changed
lines changed
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -546,6 +546,7 @@ def f(): | ||
546 | 546 | self.assertEqual(err, b"") |
547 | 547 | self.assertEqual(data, "Thread-1\nTrue\nTrue\n") |
548 | 548 | |
549 | +@requires_type_collecting | |
549 | 550 | def test_main_thread_during_shutdown(self): |
550 | 551 | # bpo-31516: current_thread() should still point to the main thread |
551 | 552 | # at shutdown |