diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-05-25 00:36:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-25 00:36:13 (GMT) |
commit | 51eb009cef155f02c59d05ce1f0d93c50ea9085a (patch) | |
tree | 8035dfa846aef174b2923d645e9d7e0bcfb6b27b /Python/instrumentation.c | |
parent | a06423388618424e2c6dab2ab503fdca5a953e38 (diff) | |
download | cpython-51eb009cef155f02c59d05ce1f0d93c50ea9085a.zip cpython-51eb009cef155f02c59d05ce1f0d93c50ea9085a.tar.gz cpython-51eb009cef155f02c59d05ce1f0d93c50ea9085a.tar.bz2 |
[3.12] Fix test_importlib.test_side_effect_import() (GH-104840) (#104842)
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 426950993f6a39cdf3f6a3333ac8b518833c7e61)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python/instrumentation.c')
0 files changed, 0 insertions, 0 deletions