We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bae1d1e commit f492fd8Copy full SHA for f492fd8
pytest_asyncio/plugin.py
@@ -732,9 +732,8 @@ def pytest_generate_tests(metafunc: Metafunc) -> None:
732
733
if event_loop_fixture_id:
734
collectors = _iter_collectors(metafunc.definition)
735
- collector_event_loop_fixture_ids = map(
736
- lambda c: c.stash.get(_event_loop_fixture_id, None), # type: ignore
737
- collectors,
+ collector_event_loop_fixture_ids = (
+ c.stash.get(_event_loop_fixture_id, None) for c in collectors
738
)
739
possible_event_loop_fixture_ids = {"event_loop"} | set(
740
collector_event_loop_fixture_ids
0 commit comments