From 3ed804a5f33084563abac7e74898abee94146677 Mon Sep 17 00:00:00 2001 From: Mason Daugherty Date: Tue, 22 Jul 2025 16:29:37 -0400 Subject: [PATCH] fix(perplexity): undo xfails (#32192) --- .../test_chat_models_standard.py | 20 +------------------ 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/libs/partners/perplexity/tests/integration_tests/test_chat_models_standard.py b/libs/partners/perplexity/tests/integration_tests/test_chat_models_standard.py index 047d0031a08..ea48ad4e621 100644 --- a/libs/partners/perplexity/tests/integration_tests/test_chat_models_standard.py +++ b/libs/partners/perplexity/tests/integration_tests/test_chat_models_standard.py @@ -24,22 +24,4 @@ class TestPerplexityStandard(ChatModelIntegrationTests): def test_stop_sequence(self, model: BaseChatModel) -> None: super().test_stop_sequence(model) - @pytest.mark.xfail(reason="TODO, this regressed for some reason after 2025-04-15") - @pytest.mark.parametrize("schema_type", ["pydantic", "typeddict", "json_schema"]) - def test_structured_output(self, model: BaseChatModel, schema_type: str) -> None: - super().test_structured_output(model, schema_type) - - @pytest.mark.xfail(reason="TODO, this regressed for some reason after 2025-04-15") - @pytest.mark.parametrize("schema_type", ["pydantic", "typeddict", "json_schema"]) - async def test_structured_output_async( - self, model: BaseChatModel, schema_type: str - ) -> None: - await super().test_structured_output_async(model, schema_type) - - @pytest.mark.xfail(reason="TODO, this regressed for some reason after 2025-04-15") - def test_structured_output_pydantic_2_v1(self, model: BaseChatModel) -> None: - super().test_structured_output_pydantic_2_v1(model) - - @pytest.mark.xfail(reason="TODO, this regressed for some reason after 2025-04-15") - def test_structured_output_optional_param(self, model: BaseChatModel) -> None: - super().test_structured_output_optional_param(model) + # TODO, API regressed for some reason after 2025-04-15