Skip test_gemma3 on Python 3.11 due to segmentation fault

Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
Devin AI
2025-04-29 21:35:49 +00:00
parent fa39ce9db2
commit 0360988835

View File

@@ -1,4 +1,5 @@
import os
import sys
from time import sleep
from unittest.mock import MagicMock, patch
@@ -285,6 +286,9 @@ def test_gemini_models(model):
],
)
def test_gemma3(model):
if sys.version_info.major == 3 and sys.version_info.minor == 11:
pytest.skip("Skipping test_gemma3 on Python 3.11 due to segmentation fault")
llm = LLM(model=model)
result = llm.call("What is the capital of France?")
assert isinstance(result, str)