[Python-checkins] bpo-31516: Skip test_main_thread_during_shutdown() with COUNT_ALLOCS builds. (GH-8052)
Miss Islington (bot)
webhook-mailer at python.org
Fri Oct 12 04:54:23 EDT 2018
https://github.com/python/cpython/commit/d918e98056b7ef8d90d71805531cec3e67b5450e
commit: d918e98056b7ef8d90d71805531cec3e67b5450e
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-10-12T01:54:18-07:00
summary:
bpo-31516: Skip test_main_thread_during_shutdown() with COUNT_ALLOCS builds. (GH-8052)
(cherry picked from commit 65d2f8c044bf597685ba72f66cbcc6b3f7a3ee9c)
Co-authored-by: Zackery Spytz <zspytz at gmail.com>
files:
M Lib/test/test_threading.py
diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py
index 43ef22b24d49..ad54272761fd 100644
--- a/Lib/test/test_threading.py
+++ b/Lib/test/test_threading.py
@@ -544,6 +544,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