diff options
author | Christian Heimes <christian@python.org> | 2022-04-07 07:22:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-07 07:22:47 (GMT) |
commit | 2b16a08bc77475917dd5c96417aef4c5210b45ac (patch) | |
tree | 6188ad8008760a8710ba6692c44c25157c69d981 /Lib/test/test_importlib/test_threaded_import.py | |
parent | 5aee46b31ba37d65cdf4d5a96cabb8835c508deb (diff) | |
download | cpython-2b16a08bc77475917dd5c96417aef4c5210b45ac.zip cpython-2b16a08bc77475917dd5c96417aef4c5210b45ac.tar.gz cpython-2b16a08bc77475917dd5c96417aef4c5210b45ac.tar.bz2 |
bpo-40280: Detect missing threading on WASM platforms (GH-32352)
Co-authored-by: Brett Cannon <brett@python.org>
Diffstat (limited to 'Lib/test/test_importlib/test_threaded_import.py')
-rw-r--r-- | Lib/test/test_importlib/test_threaded_import.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_importlib/test_threaded_import.py b/Lib/test/test_importlib/test_threaded_import.py index 76b028e..cc1d804 100644 --- a/Lib/test/test_importlib/test_threaded_import.py +++ b/Lib/test/test_importlib/test_threaded_import.py @@ -19,6 +19,8 @@ from test.support.import_helper import forget from test.support.os_helper import (TESTFN, unlink, rmtree) from test.support import script_helper, threading_helper +threading_helper.requires_working_threading(module=True) + def task(N, done, done_tasks, errors): try: # We don't use modulefinder but still import it in order to stress |