From fe20e66a1db4d7acbeaa22e390b29f50be609e5a Mon Sep 17 00:00:00 2001 From: Sameer Kankute Date: Tue, 17 Feb 2026 20:12:02 +0530 Subject: [PATCH] Fix : test_exception_without_scanners --- tests/test_litellm/proxy/guardrails/test_pillar_guardrails.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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