mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-17 09:34:48 +00:00
test(anthropic-adapter): drop unnecessary sys.path.insert
pytest's rootdir handling and the installed litellm package already make the imports resolve, so the sys.path.insert was a no-op that tripped the TQ003 test-quality gate. Removes the associated os/sys imports to keep the file tidy. Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
This commit is contained in:
parent
0b847b1b10
commit
9ab4d4fb15
1 changed files with 0 additions and 4 deletions
|
|
@ -15,15 +15,11 @@ Anthropic ``error`` event so the stream stays valid and the client can retry.
|
|||
"""
|
||||
|
||||
import json
|
||||
import os
|
||||
import sys
|
||||
from typing import List, Optional
|
||||
from unittest.mock import MagicMock
|
||||
|
||||
import pytest
|
||||
|
||||
sys.path.insert(0, os.path.abspath("../../../../.."))
|
||||
|
||||
from litellm.exceptions import MidStreamFallbackError
|
||||
from litellm.llms.anthropic.experimental_pass_through.adapters.streaming_iterator import (
|
||||
AnthropicStreamWrapper,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue