FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.12] Fix test_importlib.test_side_effect_import() (GH-104840) by miss-islington · Pull Request #104842 · python/cpython · GitHub

/ cpython Public

[3.12] Fix test_importlib.test_side_effect_import() (GH-104840) - #104842

Merged
vstinner merged 1 commit into
python:3.12from
miss-islington:backport-4269509-3.12
May 25, 2023
Merged

[3.12] Fix test_importlib.test_side_effect_import() (GH-104840)#104842
vstinner merged 1 commit into
python:3.12from
miss-islington:backport-4269509-3.12

Conversation

Copy link
Copy Markdown
Contributor

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

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 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM, good bot.

Copy link
Copy Markdown
Member

@vstinner did you mean to leave this open after approving, or did you forget the auto-merge label?

vstinner merged commit 51eb009 into python:3.12 May 25, 2023
miss-islington deleted the backport-4269509-3.12 branch May 25, 2023 00:36

Copy link
Copy Markdown
Member

@vstinner did you mean to leave this open after approving, or did you forget the auto-merge label?

I'm not used to the new workflow. I merged this backport manually.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip issue skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL