MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / test_async_tuple_input

Function test_async_tuple_input

tests/test_files.py:41–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39
40@pytest.mark.asyncio
41async def test_async_tuple_input() -> None:
42 result = await async_to_httpx_files([("file", readme_path)])
43 print(result)
44 assert result == IsList(IsTuple("file", IsTuple("README.md", IsBytes())))
45
46
47def test_pathlib_in_file_tuple() -> None:

Callers

nothing calls this directly

Calls 1

async_to_httpx_filesFunction · 0.90

Tested by

no test coverage detected