Skip to content

Commit 080dd87

Browse files
fix: add no branch pragma for task group in test_session.py
1 parent effec9f commit 080dd87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/shared/test_session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ async def make_request(session: ClientSession):
104104
async with transport.connect() as (read_stream, write_stream):
105105
async with ClientSession(read_stream=read_stream, write_stream=write_stream) as session:
106106
await session.initialize()
107-
async with anyio.create_task_group() as tg:
107+
async with anyio.create_task_group() as tg: # pragma: no branch
108108
tg.start_soon(make_request, session)
109109

110110
# Wait for the request to be in-flight

0 commit comments

Comments
 (0)