[Python-checkins] bpo-31516: Skip test_main_thread_during_shutdown() with COUNT_ALLOCS builds. (GH-8052)
Serhiy Storchaka
webhook-mailer at python.org
Fri Oct 12 04:31:27 EDT 2018
https://github.com/python/cpython/commit/65d2f8c044bf597685ba72f66cbcc6b3f7a3ee9c
commit: 65d2f8c044bf597685ba72f66cbcc6b3f7a3ee9c
branch: master
author: Zackery Spytz <zspytz at gmail.com>
committer: Serhiy Storchaka <storchaka at gmail.com>
date: 2018-10-12T11:31:21+03:00
summary:
bpo-31516: Skip test_main_thread_during_shutdown() with COUNT_ALLOCS builds. (GH-8052)
files:
M Lib/test/test_threading.py
diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py
index db70dfa95df0..8160a5af0064 100644
--- a/Lib/test/test_threading.py
+++ b/Lib/test/test_threading.py
@@ -546,6 +546,7 @@ def f():
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
More information about the Python-checkins
mailing list