summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_threading.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_threading.py')
-rw-r--r--Lib/test/test_threading.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py
index 6465a44..9c16c40 100644
--- a/Lib/test/test_threading.py
+++ b/Lib/test/test_threading.py
@@ -572,6 +572,10 @@ class ThreadTests(BaseTestCase):
self.assertEqual(err, b'')
@support.requires_fork()
+ # gh-89363: Skip multiprocessing tests if Python is built with ASAN to
+ # work around a libasan race condition: dead lock in pthread_create().
+ @support.skip_if_sanitizer("libasan has a pthread_create() dead lock",
+ address=True)
def test_is_alive_after_fork(self):
# Try hard to trigger #18418: is_alive() could sometimes be True on
# threads that vanished after a fork.