bpo-31516: Skip test_main_thread_during_shutdown() with COUNT_ALLOCS … · python/cpython@65d2f8c (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 65d2f8c

ZackerySpytzserhiy-storchaka

authored and

committed

bpo-31516: Skip test_main_thread_during_shutdown() with COUNT_ALLOCS builds. (GH-8052)

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