Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 12, 2024
1 parent bae1d1e commit f492fd8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pytest_asyncio/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -732,9 +732,8 @@ def pytest_generate_tests(metafunc: Metafunc) -> None:

if event_loop_fixture_id:
collectors = _iter_collectors(metafunc.definition)
collector_event_loop_fixture_ids = map(
lambda c: c.stash.get(_event_loop_fixture_id, None), # type: ignore
collectors,
collector_event_loop_fixture_ids = (
c.stash.get(_event_loop_fixture_id, None) for c in collectors
)
possible_event_loop_fixture_ids = {"event_loop"} | set(
collector_event_loop_fixture_ids
Expand Down

0 comments on commit f492fd8

Please sign in to comment.