diff options
author | Zackery Spytz <zspytz@gmail.com> | 2018-10-12 02:31:21 -0600 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2018-10-12 11:31:21 +0300 |
commit | 65d2f8c044bf597685ba72f66cbcc6b3f7a3ee9c (patch) | |
tree | 9a49744f013a8ffb067361bd0f14a7f9a777ce19 /Lib/test/test_threading.py | |
parent | a4b48f194a131bad6fe1fcfb1f90ae2029304735 (diff) | |
download | cpython-git-65d2f8c044bf597685ba72f66cbcc6b3f7a3ee9c.tar.gz |
bpo-31516: Skip test_main_thread_during_shutdown() with COUNT_ALLOCS builds. (GH-8052)
Diffstat (limited to 'Lib/test/test_threading.py')
-rw-r--r-- | Lib/test/test_threading.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py index db70dfa95d..8160a5af00 100644 --- a/Lib/test/test_threading.py +++ b/Lib/test/test_threading.py @@ -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 |