Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Fix : test_exception_without_scanners

Sameer Kankutefe20e66a1db4
diff --git a/tests/test_litellm/proxy/guardrails/test_pillar_guardrails.py b/tests/test_litellm/proxy/guardrails/test_pillar_guardrails.py
index 00df27d5d8b..ece38eb386c 100644
--- a/tests/test_litellm/proxy/guardrails/test_pillar_guardrails.py
+++ b/tests/test_litellm/proxy/guardrails/test_pillar_guardrails.py
@@ -37,7 +37,6 @@ from litellm.proxy.guardrails.guardrail_hooks.pillar.pillar import (
)
from litellm.proxy.guardrails.init_guardrails import init_guardrails_v2
-
# ============================================================================
# FIXTURES
# ============================================================================
@@ -49,8 +48,8 @@ def setup_and_teardown():
Standard LiteLLM fixture that reloads litellm before every function
to speed up testing by removing callbacks being chained.
"""
- import importlib
import asyncio
+ import importlib
import sys
# Reload litellm to ensure clean state