From 1073483854e4d8264b568cc96475516a7f6c6de2 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Wed, 25 Feb 2026 19:44:27 +0000 Subject: [PATCH] fix: remove unused imports in test file (review bot feedback) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: João --- lib/crewai/tests/hooks/test_unsafe_tool_fail_closed.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/crewai/tests/hooks/test_unsafe_tool_fail_closed.py b/lib/crewai/tests/hooks/test_unsafe_tool_fail_closed.py index fbc2209f2..8460a78d5 100644 --- a/lib/crewai/tests/hooks/test_unsafe_tool_fail_closed.py +++ b/lib/crewai/tests/hooks/test_unsafe_tool_fail_closed.py @@ -10,16 +10,12 @@ See: https://github.com/crewAIInc/crewAI/issues/4593 from __future__ import annotations -from unittest.mock import Mock - import pytest from crewai.hooks import tool_hooks from crewai.hooks.tool_hooks import ( ToolCallHookContext, - get_before_tool_call_hooks, register_before_tool_call_hook, - unregister_before_tool_call_hook, ) from crewai.tools import BaseTool, tool from crewai.tools.structured_tool import CrewStructuredTool