From 00ecd98741047e896241ebc7670ef2ee4d1aae55 Mon Sep 17 00:00:00 2001 From: Robert Jambrecic Date: Wed, 18 Dec 2024 16:33:00 +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 3e29ceec57..8ae3eb6b4c 100644 --- a/test/interop/pydantic_ai/test_pydantic_ai.py +++ b/test/interop/pydantic_ai/test_pydantic_ai.py @@ -82,6 +82,9 @@ def test_with_llm(self) -> None: assert False, "No tool response found in chat messages" +@pytest.mark.skipif( + sys.version_info < (3, 9), reason="Only Python 3.9 and above are supported for LangchainInteroperability" +) class TestPydanticAIInteroperabilityDependencyInjection: def test_dependency_injection(self) -> None: