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 Jan 28, 2025
1 parent 13da417 commit 40c7c39
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_taskgroups.py
Original file line number Diff line number Diff line change
Expand Up @@ -1841,8 +1841,9 @@ async def test_patched_asyncio_task(monkeypatch: MonkeyPatch) -> None:

@pytest.mark.parametrize("anyio_backend", asyncio_params)
async def test_exception_groups_suppresses_exc_context() -> None:

with pytest.raises(cast(type[ExceptionGroup[Exception]], ExceptionGroup)) as exc_info:
with pytest.raises(
cast(type[ExceptionGroup[Exception]], ExceptionGroup)
) as exc_info:
async with create_task_group():
raise Exception("Error")

Expand Down

0 comments on commit 40c7c39

Please sign in to comment.