Skip to content

Commit dcf922b

Browse files
committed
test: suppress proactor transport warning on Windows 3.10
1 parent 6cb12cb commit dcf922b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/client/test_stdio.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,8 @@ async def _terminate_and_reap(proc: anyio.abc.Process | FallbackProcess) -> None
346346
await proc.stdout.aclose()
347347

348348

349+
# Windows 3.10 proactor pipe transport fires ResourceWarning during GC cleanup
350+
@pytest.mark.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning")
349351
class TestChildProcessCleanup:
350352
"""Integration tests for ``_terminate_process_tree`` covering basic,
351353
nested, and early-parent-exit process tree scenarios. See module-level

0 commit comments

Comments
 (0)