diff --git a/tests/code_coverage_tests/recursive_detector.py b/tests/code_coverage_tests/recursive_detector.py index 8331738baba..20e6a381e5b 100644 --- a/tests/code_coverage_tests/recursive_detector.py +++ b/tests/code_coverage_tests/recursive_detector.py @@ -37,6 +37,7 @@ IGNORE_FUNCTIONS = [ "_split_text", # max depth set. "_delete_nested_value_custom", # max depth set (bounded by number of path segments). "filter_exceptions_from_params", # max depth set (default 20) to prevent infinite recursion. + "__getattr__", # lazy loading pattern in litellm/__init__.py with proper caching to prevent infinite recursion. ]