From b4e991fbb8d73937b001d31796e9f46f8fe254fc Mon Sep 17 00:00:00 2001 From: Robert Jambrecic Date: Wed, 18 Dec 2024 16:41:47 +0100 Subject: [PATCH] Fix tests --- test/interop/pydantic_ai/test_pydantic_ai.py | 3 +++ 1 file changed, 3 insertions(+) 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: