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

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