Fix import formatting issues in crew.py and test_crewai_alias.py

Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
Devin AI
2025-03-31 12:54:04 +00:00
parent 7079fce4b1
commit 9803a964c9
2 changed files with 14 additions and 2 deletions

View File

@@ -38,8 +38,9 @@ class TestCrewaiAlias(unittest.TestCase):
def test_crewai_deprecation_warning(self):
"""Test that using Crewai emits a deprecation warning."""
import importlib
import crewai.crew
import warnings
import crewai.crew
with warnings.catch_warnings(record=True) as w:
warnings.simplefilter("always")