mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
test(bedrock): import litellm directly instead of patching sys.path
pytest's rootdir already makes litellm importable, and TQ003 counts the insert against the test-quality budget.
This commit is contained in:
parent
fe8b1aa17a
commit
d2df7c65d6
1 changed files with 0 additions and 7 deletions
|
|
@ -1,12 +1,5 @@
|
|||
import os
|
||||
import sys
|
||||
|
||||
import pytest
|
||||
|
||||
# Ensure the project root is on the import path so `litellm` can be imported when
|
||||
# tests are executed from any working directory.
|
||||
sys.path.insert(0, os.path.abspath("../../../../../.."))
|
||||
|
||||
from litellm.llms.bedrock.chat.invoke_transformations.amazon_deepseek_transformation import (
|
||||
AmazonDeepseekR1ResponseIterator,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue