From 21c99ca755e3b70c0ee23d08dee1d9143664614d Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Mon, 16 Feb 2026 11:46:01 +0000 Subject: [PATCH] chore: remove unused imports in test file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: João --- lib/crewai/tests/agents/test_native_tool_calling.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/crewai/tests/agents/test_native_tool_calling.py b/lib/crewai/tests/agents/test_native_tool_calling.py index 48d239716..095dc854b 100644 --- a/lib/crewai/tests/agents/test_native_tool_calling.py +++ b/lib/crewai/tests/agents/test_native_tool_calling.py @@ -8,7 +8,7 @@ from __future__ import annotations import os from typing import Type -from unittest.mock import MagicMock, patch +from unittest.mock import patch import pytest from pydantic import BaseModel, Field @@ -693,9 +693,7 @@ class TestDictToolCallArgExtraction: """Helper to create a minimal executor for testing _handle_native_tool_calls.""" from crewai.agents.crew_agent_executor import CrewAgentExecutor from crewai.agents.tools_handler import ToolsHandler - from crewai.utilities.agent_utils import convert_tools_to_openai_schema - - agent = Agent( + agent= Agent( role="Test Agent", goal="Test tool calling", backstory="Testing agent",