https://github.com/python/cpython/commit/92ce41cce1694b755ba80ed870c3f1083617dd97
commit: 92ce41cce1694b755ba80ed870c3f1083617dd97
branch: main
author: Gregory P. Smith <[email protected]>
committer: gpshead <[email protected]>
date: 2024-02-26T00:02:56Z
summary:

gh-71052: fix test_concurrent_futures wasi regression. (#115923)

Fix the WASI test_concurrent_futures regression from #115917.

files:
M Lib/test/test_concurrent_futures/__init__.py

diff --git a/Lib/test/test_concurrent_futures/__init__.py 
b/Lib/test/test_concurrent_futures/__init__.py
index 17a2853173ba18..b38bd38d338f0e 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):

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to