From: Gregory P. Smith Date: Mon, 26 Feb 2024 00:02:56 +0000 (-0800) Subject: gh-71052: fix test_concurrent_futures wasi regression. (#115923) X-Git-Tag: v3.13.0a5~243 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=92ce41cce1694b755ba80ed870c3f1083617dd97;p=thirdparty%2FPython%2Fcpython.git gh-71052: fix test_concurrent_futures wasi regression. (#115923) Fix the WASI test_concurrent_futures regression from #115917. --- diff --git a/Lib/test/test_concurrent_futures/__init__.py b/Lib/test/test_concurrent_futures/__init__.py index 17a2853173ba..b38bd38d338f 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):