From 9ecb442d7fdaeb5508c0aebd50f06a0b94840fd4 Mon Sep 17 00:00:00 2001 From: Eugene Yurtsev Date: Tue, 23 Jul 2024 10:04:02 -0400 Subject: [PATCH] x --- .../langchain_standard_tests/integration_tests/chat_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/standard-tests/langchain_standard_tests/integration_tests/chat_models.py b/libs/standard-tests/langchain_standard_tests/integration_tests/chat_models.py index c19baf85cf4af..4c141501b12ad 100644 --- a/libs/standard-tests/langchain_standard_tests/integration_tests/chat_models.py +++ b/libs/standard-tests/langchain_standard_tests/integration_tests/chat_models.py @@ -247,7 +247,7 @@ class Joke(BaseModelProper): assert isinstance(chunk, dict) # for mypy assert set(chunk.keys()) == {"setup", "punchline"} - @pytest.mark.skipif(PYDANTIC_MAJOR_VERSION != 2, "Test requires pydantic 2.") + @pytest.mark.skipif(PYDANTIC_MAJOR_VERSION != 2, reason="Test requires pydantic 2.") def test_structured_output_pydantic_2_v1(self, model: BaseChatModel) -> None: """Test to verify compatibility with pydantic.v1.BaseModel.