Skip to content

Commit 65d2f8c

Browse files
ZackerySpytzserhiy-storchaka
authored andcommitted
bpo-31516: Skip test_main_thread_during_shutdown() with COUNT_ALLOCS builds. (pythonGH-8052)
1 parent a4b48f1 commit 65d2f8c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_threading.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,7 @@ def f():
546546
self.assertEqual(err, b"")
547547
self.assertEqual(data, "Thread-1\nTrue\nTrue\n")
548548

549+
@requires_type_collecting
549550
def test_main_thread_during_shutdown(self):
550551
# bpo-31516: current_thread() should still point to the main thread
551552
# at shutdown

0 commit comments

Comments
 (0)