From 14c7533562f6377fbe67746c7284146b68bef9fd Mon Sep 17 00:00:00 2001 From: Vineeth Sai Date: Thu, 27 Aug 2026 11:04:13 -0700 Subject: [PATCH] test(evals): drop the sys.path bootstrap The installed package and the repo's pytest config already make litellm importable, so the insert is a no-op the test-quality gate counts. Signed-off-by: Vineeth Sai --- tests/test_litellm/evals/test_evals_metadata.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/test_litellm/evals/test_evals_metadata.py b/tests/test_litellm/evals/test_evals_metadata.py index 39b27773a1a..8bb148c4e94 100644 --- a/tests/test_litellm/evals/test_evals_metadata.py +++ b/tests/test_litellm/evals/test_evals_metadata.py @@ -11,13 +11,8 @@ These tests pin that same behaviour onto the two create paths: the caller's keys reach the request body, and the internal keys never do. """ -import os -import sys - import pytest -sys.path.insert(0, os.path.abspath("../..")) - import litellm from litellm.evals.main import INTERNAL_METADATA_KEYS, INTERNAL_METADATA_KEY_PREFIXES