Skip to content

Conversation

@cdce8p
Copy link
Collaborator

@cdce8p cdce8p commented Jan 15, 2025

Starting in Python 3.14, asyncio.get_event_loop will raise a RuntimeError if no current loop exists in the current thread. Update the eval tests to use asyncio.run instead.

@cdce8p cdce8p added topic-tests topic-async async, await, asyncio labels Jan 15, 2025
Copy link
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

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

Thanks, it's very helpful to stay up to date with 3.14 development so that we can test with alphas and betas.

@JukkaL JukkaL merged commit c9ed867 into python:master Jan 15, 2025
12 checks passed
@cdce8p cdce8p deleted the update-asyncio-eval-tests branch January 15, 2025 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic-async async, await, asyncio topic-tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants