test_match_pattern_with_braces() — langchain Function Reference
Architecture documentation for the test_match_pattern_with_braces() function in test_file_search.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 2faccac1_356b_3414_07e9_8b1160958916["test_match_pattern_with_braces()"] 1960b042_a3c7_59fb_556b_27020b79fec1["TestMatchIncludePattern"] 2faccac1_356b_3414_07e9_8b1160958916 -->|defined in| 1960b042_a3c7_59fb_556b_27020b79fec1 style 2faccac1_356b_3414_07e9_8b1160958916 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_file_search.py lines 349–353
def test_match_pattern_with_braces(self) -> None:
"""Test matching with brace expansion."""
assert _match_include_pattern("test.py", "*.{py,txt}")
assert _match_include_pattern("test.txt", "*.{py,txt}")
assert not _match_include_pattern("test.md", "*.{py,txt}")
Domain
Subdomains
Source
Frequently Asked Questions
What does test_match_pattern_with_braces() do?
test_match_pattern_with_braces() is a function in the langchain codebase, defined in libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_file_search.py.
Where is test_match_pattern_with_braces() defined?
test_match_pattern_with_braces() is defined in libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_file_search.py at line 349.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free