Skip to content

Conversation

@seifertm
Copy link
Contributor

@seifertm seifertm commented Jan 20, 2023

This PR clarifies why pytest_fixture_post_finalizer creates a new event loop. The corresponding tests were refactored and extended.

…ing the event_loop fixture.

Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
The tests were split up so that the name of the test case reflects the test purpose.

Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
…p can be set to None.

Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
…e_finalizer.py.

Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
…ltiple times for any specific fixture.

Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
@seifertm seifertm merged commit 174bddb into pytest-dev:master Feb 1, 2023
@seifertm seifertm deleted the explain-new-event-loop-in-fixture-finalizer branch October 23, 2023 06:15
@seifertm seifertm restored the explain-new-event-loop-in-fixture-finalizer branch October 23, 2023 08:17
@seifertm seifertm deleted the explain-new-event-loop-in-fixture-finalizer branch October 23, 2023 08:33
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

Successfully merging this pull request may close these issues.

1 participant