From 52c2e00f905d9fc993cde3d8de2225c065d78f3b Mon Sep 17 00:00:00 2001 From: hajdul88 <52442977+hajdul88@users.noreply.github.com> Date: Fri, 12 Dec 2025 09:01:01 +0100 Subject: [PATCH] ruff --- cognee/tests/test_search_db.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cognee/tests/test_search_db.py b/cognee/tests/test_search_db.py index 857127fb3..74252056a 100644 --- a/cognee/tests/test_search_db.py +++ b/cognee/tests/test_search_db.py @@ -27,6 +27,7 @@ def _filtered_atexit_register(func, *args, **kwargs): atexit.register = _filtered_atexit_register + # If LiteLLM was imported/initialized elsewhere (plugins, other imports) before this module, # its atexit handler may already be registered. In Python 3.10 this can emit a RuntimeWarning # at shutdown and (in some CI runs) crash the process (exit code 139). Remove those handlers.