From 89f7f5dc6ed0351d9e41d3df2ea8f67094218e26 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Thu, 1 Oct 2026 09:27:36 +0200 Subject: [PATCH] Allow asyncio-waitpid threads in test cleanup check (#183831) Co-authored-by: Claude Opus 5.5 --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index bdf1af45e3e7..44a26cc2e078 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -472,7 +472,7 @@ def verify_cleanup( for thread in threads: assert ( isinstance(thread, threading._DummyThread) - or thread.name.startswith("waitpid-") + or thread.name.startswith("asyncio-waitpid-") or "_run_safe_shutdown_loop" in thread.name )