[3.11] Fix test_importlib.test_side_effect_import() (GH-104840)#104843
[3.11] Fix test_importlib.test_side_effect_import() (GH-104840)#104843vstinner merged 1 commit intopython:3.11from
Conversation
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 4269509) Co-authored-by: Victor Stinner <vstinner@python.org>
|
@vstinner did you leave this open on purpose or forget the auto-merge label? |
There is no auto-merge label anymore (and miss-islington no longer merges any PRs herself). There is now only GitHub automerge. |
In the past, approving a backport PR was enough to merge a backport. It seems like I have to update my habits to add the auto-merge label. |
Oh right, I don't see any "auto-merge" label. And right now, I can only "Squash and merge", there is no "auto merge" button. Maybe it's because the CI completed successfully. |
|
Well, I clicked on Merge manually. It's merged :-) |
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 4269509)
Co-authored-by: Victor Stinner vstinner@python.org