From c1786bf47f5dd2068b1467f034a0675de3ebedac Mon Sep 17 00:00:00 2001 From: "Gregory P. Smith" Date: Sun, 25 Feb 2024 16:02:56 -0800 Subject: [PATCH] gh-71052: fix test_concurrent_futures wasi regression. (#115923) Fix the WASI test_concurrent_futures regression from #115917. --- Lib/test/test_concurrent_futures/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Lib/test/test_concurrent_futures/__init__.py b/Lib/test/test_concurrent_futures/__init__.py index 17a2853173ba18a..b38bd38d338f0ee 100644 --- a/Lib/test/test_concurrent_futures/__init__.py +++ b/Lib/test/test_concurrent_futures/__init__.py @@ -1,7 +1,11 @@ import os.path import unittest from test import support -from test.support import import_helper +from test.support import threading_helper + + +# Adjust if we ever have a platform with processes but not threads. +threading_helper.requires_working_threading(module=True) if support.check_sanitizer(address=True, memory=True):