diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-10-12 08:54:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-12 08:54:18 (GMT) |
commit | d918e98056b7ef8d90d71805531cec3e67b5450e (patch) | |
tree | 456b378282cbfc20a40d0276d100830839c4d4d4 /Lib/test/test_threading.py | |
parent | f39defe11a4ed688489c7827a8b69752af29391a (diff) | |
download | cpython-d918e98056b7ef8d90d71805531cec3e67b5450e.zip cpython-d918e98056b7ef8d90d71805531cec3e67b5450e.tar.gz cpython-d918e98056b7ef8d90d71805531cec3e67b5450e.tar.bz2 |
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@gmail.com>
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 43ef22b..ad54272 100644 --- a/Lib/test/test_threading.py +++ b/Lib/test/test_threading.py @@ -544,6 +544,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 |