From: Kumar Aditya Date: Mon, 23 Jun 2025 16:08:57 +0000 (+0530) Subject: GH-124878: reenable `test_finalize_daemon_thread_hang` test under TSAN (#135793) X-Git-Tag: v3.15.0a1~1209 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=99712c45ccaab4bbe83eac38d73bab91bf0f4a02;p=thirdparty%2FPython%2Fcpython.git GH-124878: reenable `test_finalize_daemon_thread_hang` test under TSAN (#135793) --- 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