test_no_escaping() — langchain Function Reference
Architecture documentation for the test_no_escaping() function in test_xml.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 21faadbd_c6bc_6ae7_c865_aaf63e452c65["test_no_escaping()"] 972f46cf_6d67_3d50_b55a_eec185ef4348["test_xml.py"] 21faadbd_c6bc_6ae7_c865_aaf63e452c65 -->|defined in| 972f46cf_6d67_3d50_b55a_eec185ef4348 style 21faadbd_c6bc_6ae7_c865_aaf63e452c65 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/tests/unit_tests/agents/output_parsers/test_xml.py lines 61–69
def test_no_escaping() -> None:
"""Test parser with escaping disabled."""
parser = XMLAgentOutputParser(escape_format=None)
# Test with regular tool name (no XML tags)
_input = """<tool>search</tool><tool_input>foo</tool_input>"""
output = parser.invoke(_input)
expected_output = AgentAction(tool="search", tool_input="foo", log=_input)
assert output == expected_output
Domain
Subdomains
Source
Frequently Asked Questions
What does test_no_escaping() do?
test_no_escaping() is a function in the langchain codebase, defined in libs/langchain/tests/unit_tests/agents/output_parsers/test_xml.py.
Where is test_no_escaping() defined?
test_no_escaping() is defined in libs/langchain/tests/unit_tests/agents/output_parsers/test_xml.py at line 61.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free