https://github.com/python/cpython/commit/99712c45ccaab4bbe83eac38d73bab91bf0f4a02
commit: 99712c45ccaab4bbe83eac38d73bab91bf0f4a02
branch: main
author: Kumar Aditya <[email protected]>
committer: kumaraditya303 <[email protected]>
date: 2025-06-23T21:38:57+05:30
summary:

GH-124878: reenable `test_finalize_daemon_thread_hang` test under TSAN (#135793)

files:
M Lib/test/test_threading.py

diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py
index 125c27446986c0..13b55d0f0a2e73 100644
--- a/Lib/test/test_threading.py
+++ b/Lib/test/test_threading.py
@@ -1284,12 +1284,6 @@ def f():
 
     @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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to