]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix test_importlib.test_side_effect_import() (#104840)
authorVictor Stinner <vstinner@python.org>
Wed, 24 May 2023 08:29:35 +0000 (10:29 +0200)
committerGitHub <noreply@github.com>
Wed, 24 May 2023 08:29:35 +0000 (10:29 +0200)
commit426950993f6a39cdf3f6a3333ac8b518833c7e61
tree3bd32c200b8c71c6efffc3dc04190e8b7b1a8f04
parentc0ab7d401c736c37bf4462eef7c7d69fef8fab93
Fix test_importlib.test_side_effect_import() (#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
Lib/test/test_importlib/test_threaded_import.py