summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_concurrent_futures/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_concurrent_futures/util.py')
-rw-r--r--Lib/test/test_concurrent_futures/util.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_concurrent_futures/util.py b/Lib/test/test_concurrent_futures/util.py
index dc48bec..fc6030e 100644
--- a/Lib/test/test_concurrent_futures/util.py
+++ b/Lib/test/test_concurrent_futures/util.py
@@ -85,6 +85,8 @@ class ProcessPoolForkMixin(ExecutorMixin):
self.skipTest("ProcessPoolExecutor unavailable on this system")
if sys.platform == "win32":
self.skipTest("require unix system")
+ if support.check_sanitizer(thread=True):
+ self.skipTest("TSAN doesn't support threads after fork")
return super().get_context()
@@ -111,6 +113,8 @@ class ProcessPoolForkserverMixin(ExecutorMixin):
self.skipTest("ProcessPoolExecutor unavailable on this system")
if sys.platform == "win32":
self.skipTest("require unix system")
+ if support.check_sanitizer(thread=True):
+ self.skipTest("TSAN doesn't support threads after fork")
return super().get_context()