Skip to content

Commit 15b24eb

Browse files
authored
Update test_stdio.py
1 parent 12d4740 commit 15b24eb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/client/test_stdio.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88
tee: str = shutil.which("tee") # type: ignore
99

1010

11+
@pytest.mark.anyio
12+
@pytest.mark.skipif(tee is None, reason="could not find tee command")
13+
async def test_stdio_context_manager_exiting():
14+
async with stdio_client(StdioServerParameters(command=tee)) as (_, _):
15+
pass
16+
17+
1118
@pytest.mark.anyio
1219
@pytest.mark.skipif(tee is None, reason="could not find tee command")
1320
async def test_stdio_client():

0 commit comments

Comments
 (0)