]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-71052: fix test_concurrent_futures wasi regression. (#115923)
authorGregory P. Smith <greg@krypto.org>
Mon, 26 Feb 2024 00:02:56 +0000 (16:02 -0800)
committerGitHub <noreply@github.com>
Mon, 26 Feb 2024 00:02:56 +0000 (00:02 +0000)
Fix the WASI test_concurrent_futures regression from #115917.

Lib/test/test_concurrent_futures/__init__.py

index 17a2853173ba18aa8235096e60036c1e4a15948e..b38bd38d338f0ee0cae5c7f9b1a120a110fbbe5c 100644 (file)
@@ -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):