test_schema_parsing_failures_async() — langchain Function Reference
Architecture documentation for the test_schema_parsing_failures_async() function in test_base.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 1f0823a8_140b_0b9f_3802_ebd87e00b71c["test_schema_parsing_failures_async()"] bd382a4e_442c_13ae_530c_6e34bc43623d["test_base.py"] 1f0823a8_140b_0b9f_3802_ebd87e00b71c -->|defined in| bd382a4e_442c_13ae_530c_6e34bc43623d style 1f0823a8_140b_0b9f_3802_ebd87e00b71c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/openai/tests/integration_tests/chat_models/test_base.py lines 1256–1263
async def test_schema_parsing_failures_async() -> None:
llm = ChatOpenAI(model="gpt-5-nano", use_responses_api=False)
try:
await llm.ainvoke("respond with good", response_format=BadModel)
except Exception as e:
assert e.response is not None # type: ignore[attr-defined]
else:
raise AssertionError
Domain
Subdomains
Source
Frequently Asked Questions
What does test_schema_parsing_failures_async() do?
test_schema_parsing_failures_async() is a function in the langchain codebase, defined in libs/partners/openai/tests/integration_tests/chat_models/test_base.py.
Where is test_schema_parsing_failures_async() defined?
test_schema_parsing_failures_async() is defined in libs/partners/openai/tests/integration_tests/chat_models/test_base.py at line 1256.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free