Home / Function/ test_pathlib_includes_file_name() — anthropic-sdk-python Function Reference

test_pathlib_includes_file_name() — anthropic-sdk-python Function Reference

Architecture documentation for the test_pathlib_includes_file_name() function in test_files.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  1a9a15aa_994f_823a_4910_c6cff4f9c5e9["test_pathlib_includes_file_name()"]
  5edc302f_1734_54cf_84f0_f1b7e5105ca5["test_files.py"]
  1a9a15aa_994f_823a_4910_c6cff4f9c5e9 -->|defined in| 5edc302f_1734_54cf_84f0_f1b7e5105ca5
  style 1a9a15aa_994f_823a_4910_c6cff4f9c5e9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_files.py lines 12–15

def test_pathlib_includes_file_name() -> None:
    result = to_httpx_files({"file": readme_path})
    print(result)
    assert result == IsDict({"file": IsTuple("README.md", IsBytes())})

Subdomains

Defined In

Frequently Asked Questions

What does test_pathlib_includes_file_name() do?
test_pathlib_includes_file_name() is a function in the anthropic-sdk-python codebase, defined in tests/test_files.py.
Where is test_pathlib_includes_file_name() defined?
test_pathlib_includes_file_name() is defined in tests/test_files.py at line 12.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free