New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewrite asyncio.to_thread tests to use IsolatedAsyncioTestCase #91260
Comments
|
Andrew, it seems that the post-commit CI has started failing after this commit. Specifically it says "test_asyncio failed (env changed)" From this page, the Ubuntu CI link for that commit: Failing buildbots on 3.10: Sorry that I can't help more. I'm not an asyncio expert so I'm not sure why this is triggering. |
|
I forgot to specify, that this is *only* on 3.10, not main. |
|
The test is failing on GH Actions too on 3.10 branch, it should be reverted until a fix is found. See #91667 |
|
Using |
|
|
I don't think this PR is the cause, just a code tweak that causes it to be exposed more often. Other tests lead to which is an environment change warning codepath from |
|
tracked in #91676 now as this issue's PR is merely a tickler of a latent problem, not the cause. |
… no longer leaks its executor (pythonGH-91680) For things like test_asyncio.test_thread this was causing frequent "environment modified by test" errors as the executor threads had not always stopped running after the test was over. (cherry picked from commit 61570ae) Co-authored-by: Gregory P. Smith <greg@krypto.org>
|
Closing as it is now tracked in #91676 |
…eaks its executor (GH-91680) For things like test_asyncio.test_thread this was causing frequent "environment modified by test" errors as the executor threads had not always stopped running after the test was over. (cherry picked from commit 61570ae) Co-authored-by: Gregory P. Smith <greg@krypto.org>
… no longer leaks its executor (pythonGH-91680) For things like test_asyncio.test_thread this was causing frequent "environment modified by test" errors as the executor threads had not always stopped running after the test was over. (cherry picked from commit 61570ae) Co-authored-by: Gregory P. Smith <greg@krypto.org>

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: