diff --git a/test_simple_logging_fix.py b/test_simple_logging_fix.py index 216982acc..8bb6706a3 100644 --- a/test_simple_logging_fix.py +++ b/test_simple_logging_fix.py @@ -3,8 +3,7 @@ Simple test to verify the logging fix works without external API calls """ import logging import io -import sys -from contextlib import redirect_stdout, redirect_stderr +from contextlib import redirect_stdout from crewai.utilities.events.utils.console_formatter import ConsoleFormatter from rich.tree import Tree diff --git a/tests/test_custom_logger_fix.py b/tests/test_custom_logger_fix.py index b6496c34c..0d1e31e64 100644 --- a/tests/test_custom_logger_fix.py +++ b/tests/test_custom_logger_fix.py @@ -3,9 +3,7 @@ Tests for issue #3197: Custom logger conflicts with Crew AI logging """ import logging import io -import sys from unittest.mock import patch -import pytest from crewai import Agent, Task, Crew from crewai.tools import BaseTool from pydantic import BaseModel, Field