This commit is contained in:
hajdul88 2025-12-11 20:12:09 +01:00
parent d349283ce3
commit d1a3928d7e

View file

@ -27,7 +27,7 @@ logger = get_logger()
@pytest_asyncio.fixture(scope="function", autouse=True) @pytest_asyncio.fixture(scope="function", autouse=True)
async def cleanup_litellm_clients(): async def cleanup_litellm_clients():
"""Fixture to properly cleanup LiteLLM async clients after each test. """Fixture to properly cleanup LiteLLM async clients after each test.
This prevents RuntimeWarning in Python 3.10 about unawaited coroutine This prevents RuntimeWarning in Python 3.10 about unawaited coroutine
'close_litellm_async_clients' during event loop cleanup. 'close_litellm_async_clients' during event loop cleanup.
""" """