test_string_not_allowed() — anthropic-sdk-python Function Reference
Architecture documentation for the test_string_not_allowed() function in test_files.py from the anthropic-sdk-python codebase.
Entity Profile
Dependency Diagram
graph TD a05aa282_db1f_6d5d_2866_72cbabed76c0["test_string_not_allowed()"] 5edc302f_1734_54cf_84f0_f1b7e5105ca5["test_files.py"] a05aa282_db1f_6d5d_2866_72cbabed76c0 -->|defined in| 5edc302f_1734_54cf_84f0_f1b7e5105ca5 style a05aa282_db1f_6d5d_2866_72cbabed76c0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_files.py lines 45–51
def test_string_not_allowed() -> None:
with pytest.raises(TypeError, match="Expected file types input to be a FileContent type or to be a tuple"):
to_httpx_files(
{
"file": "foo", # type: ignore
}
)
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_string_not_allowed() do?
test_string_not_allowed() is a function in the anthropic-sdk-python codebase, defined in tests/test_files.py.
Where is test_string_not_allowed() defined?
test_string_not_allowed() is defined in tests/test_files.py at line 45.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free