]> granicus.if.org Git - python/commitdiff
bpo-31516: Skip test_main_thread_during_shutdown() with COUNT_ALLOCS builds. (GH...
authorZackery Spytz <zspytz@gmail.com>
Fri, 12 Oct 2018 08:31:21 +0000 (02:31 -0600)
committerSerhiy Storchaka <storchaka@gmail.com>
Fri, 12 Oct 2018 08:31:21 +0000 (11:31 +0300)
Lib/test/test_threading.py

index db70dfa95df052f016b4f954271d63ac00a6fb88..8160a5af0064475e7bab524c5e74d85d595b3204 100644 (file)
@@ -546,6 +546,7 @@ class ThreadTests(BaseTestCase):
         self.assertEqual(err, b"")
         self.assertEqual(data, "Thread-1\nTrue\nTrue\n")
 
+    @requires_type_collecting
     def test_main_thread_during_shutdown(self):
         # bpo-31516: current_thread() should still point to the main thread
         # at shutdown