Skip to content

Cannot handle event loop set up and tear down in 1.0 #1133

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

Open
schlamar opened this issue Jun 2, 2025 · 0 comments
Open

Cannot handle event loop set up and tear down in 1.0 #1133

schlamar opened this issue Jun 2, 2025 · 0 comments

Comments

@schlamar
Copy link

schlamar commented Jun 2, 2025

Before 1.0 you could use the "event_loop" fixture for custom set up and tear down instructions on the event loop.

With removal of the fixture in 1.0.0 there seems to be no way to access the event_loop before it is running and after it has stopped.

Example use cases:

  • define exception handler to fail test if exception occurs
  • clean up pending tasks after test has run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant