Skip to content
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

Synchronize async fixtures dynamically #669

Closed

Conversation

seifertm
Copy link
Contributor

Based on #667
Resolves #668

…e" kwarg to the asyncio mark.

Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
…raise a pytest.UsageError.

This is a follow-up to the previous deprecation of event_loop fixture requests in async fixtures and tests.
The change allows cleaning up the fixture synchronization code, so that the synchronization will eventually become independent of the fixture providing the asyncio event loop.

Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
…han the value provided by the event loop fixture.

Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
… an event loop.

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

Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
…op fixture in async fixtures is issue during fixture setup rather than during collection time.

Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
@seifertm seifertm added this to the v1.0 milestone Nov 16, 2023
@seifertm seifertm closed this Apr 29, 2024
@seifertm seifertm deleted the synchronize-async-fixtures-dynamically branch April 29, 2024 12:47
@seifertm seifertm restored the synchronize-async-fixtures-dynamically branch April 29, 2024 12:55
@seifertm seifertm deleted the synchronize-async-fixtures-dynamically branch April 29, 2024 13:18
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.

Synchronize async fixtures dynamically
1 participant