From 99712c45ccaab4bbe83eac38d73bab91bf0f4a02 Mon Sep 17 00:00:00 2001 From: Kumar Aditya Date: Mon, 23 Jun 2025 21:38:57 +0530 Subject: [PATCH] GH-124878: reenable `test_finalize_daemon_thread_hang` test under TSAN (#135793) --- Lib/test/test_threading.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py index 125c27446986..13b55d0f0a2e 100644 --- a/Lib/test/test_threading.py +++ b/Lib/test/test_threading.py @@ -1284,12 +1284,6 @@ class ThreadTests(BaseTestCase): @cpython_only def test_finalize_daemon_thread_hang(self): - if support.check_sanitizer(thread=True, memory=True): - # the thread running `time.sleep(100)` below will still be alive - # at process exit - self.skipTest( - "https://github.com/python/cpython/issues/124878 - Known" - " race condition that TSAN identifies.") # gh-87135: tests that daemon threads hang during finalization script = textwrap.dedent(''' import os -- 2.47.3