diff --git a/tests/llm_test.py b/tests/llm_test.py index f80637c60..b6954d2d7 100644 --- a/tests/llm_test.py +++ b/tests/llm_test.py @@ -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)