diff --git a/test/interop/pydantic_ai/test_pydantic_ai.py b/test/interop/pydantic_ai/test_pydantic_ai.py index 8ae3eb6b4c..fc7b7b463f 100644 --- a/test/interop/pydantic_ai/test_pydantic_ai.py +++ b/test/interop/pydantic_ai/test_pydantic_ai.py @@ -144,6 +144,9 @@ def f( assert pydantic_ai_tool.current_retry == 3 +@pytest.mark.skipif( + sys.version_info < (3, 9), reason="Only Python 3.9 and above are supported for LangchainInteroperability" +) class TestPydanticAIInteroperabilityWithContext: @pytest.fixture(autouse=True) def setup(self) -> None: