Skip to content

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
@seifertm seifertm restored the synchronize-async-fixtures-dynamically branch May 19, 2024 12:01
@seifertm seifertm deleted the synchronize-async-fixtures-dynamically branch June 25, 2025 18:05
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