diff options
author | Christian Heimes <christian@python.org> | 2022-01-20 17:56:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 17:56:33 (GMT) |
commit | c02e860ee79f29905be6fca997c96bb1a404bb32 (patch) | |
tree | a4376cbc44b23a6eb5919fee929ae0a63cec1c36 /Lib/test/test_compileall.py | |
parent | ef3ef6fa43d5cca072eed2a66064e818de583be7 (diff) | |
download | cpython-c02e860ee79f29905be6fca997c96bb1a404bb32.zip cpython-c02e860ee79f29905be6fca997c96bb1a404bb32.tar.gz cpython-c02e860ee79f29905be6fca997c96bb1a404bb32.tar.bz2 |
bpo-40280: Misc fixes for wasm32-emscripten (GH-30722)
Diffstat (limited to 'Lib/test/test_compileall.py')
-rw-r--r-- | Lib/test/test_compileall.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_compileall.py b/Lib/test/test_compileall.py index 33f0c93..e207cf8 100644 --- a/Lib/test/test_compileall.py +++ b/Lib/test/test_compileall.py @@ -15,14 +15,14 @@ import time import unittest from unittest import mock, skipUnless -from concurrent.futures import ProcessPoolExecutor try: # compileall relies on ProcessPoolExecutor if ProcessPoolExecutor exists # and it can function. + from concurrent.futures import ProcessPoolExecutor from concurrent.futures.process import _check_system_limits _check_system_limits() _have_multiprocessing = True -except NotImplementedError: +except (NotImplementedError, ModuleNotFoundError): _have_multiprocessing = False from test import support |