diff --git a/tests/unit_tests/output_parsers/test_pydantic_parser.py b/tests/unit_tests/output_parsers/test_pydantic_parser.py index 5acf88f5e4..aefd3c0a79 100644 --- a/tests/unit_tests/output_parsers/test_pydantic_parser.py +++ b/tests/unit_tests/output_parsers/test_pydantic_parser.py @@ -23,6 +23,10 @@ class TestModel(BaseModel): ) +# Prevent pytest from trying to run tests on TestModel +TestModel.__test__ = False # type: ignore[attr-defined] + + DEF_RESULT = """{ "action": "Update", "action_input": "The PydanticOutputParser class is powerful",