mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 00:28:31 +00:00
fix: Reorganize imports to match Ruff's requirements
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import importlib.util
|
||||
import pytest
|
||||
import sys
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
def test_httpx_litellm_compatibility():
|
||||
"""Test that litellm is compatible with the latest httpx"""
|
||||
@@ -36,9 +37,9 @@ def test_google_genai_compatibility():
|
||||
if importlib.util.find_spec("google.generativeai") is None:
|
||||
pytest.skip("google-genai not installed")
|
||||
|
||||
from google import generativeai
|
||||
import httpx
|
||||
import litellm
|
||||
from google import generativeai
|
||||
|
||||
assert hasattr(generativeai, "version")
|
||||
assert hasattr(httpx, "__version__")
|
||||
|
||||
Reference in New Issue
Block a user