mirror of
https://github.com/python/cpython.git
synced 2026-04-21 19:31:17 +00:00
Fix test_importlib.test_side_effect_import() (GH-104840)
Wait until the thread spawn by the import completes to avoid dangling
threads. With this fix, the following command no longer fails:
./python -m test --fail-env-changed test_importlib -m test_side_effect_import -F -j20
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| builtin | ||
| data | ||
| extension | ||
| frozen | ||
| import_ | ||
| namespace_pkgs | ||
| partial | ||
| resources | ||
| source | ||
| __init__.py | ||
| __main__.py | ||
| _context.py | ||
| _path.py | ||
| abc.py | ||
| fixtures.py | ||
| stubs.py | ||
| test_abc.py | ||
| test_api.py | ||
| test_lazy.py | ||
| test_locks.py | ||
| test_main.py | ||
| test_metadata_api.py | ||
| test_namespace_pkgs.py | ||
| test_pkg_import.py | ||
| test_spec.py | ||
| test_threaded_import.py | ||
| test_util.py | ||
| test_windows.py | ||
| test_zip.py | ||
| threaded_import_hangers.py | ||
| util.py | ||