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 )