MCPcopy
hub / github.com/openai/openai-python / test_async_supports_anyio_path

Function test_async_supports_anyio_path

tests/test_files.py:33–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31
32@pytest.mark.asyncio
33async def test_async_supports_anyio_path() -> None:
34 result = await async_to_httpx_files({"file": anyio.Path(readme_path)})
35 print(result)
36 assert result == IsDict({"file": IsTuple("README.md", IsBytes())})
37
38
39@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 1

async_to_httpx_filesFunction · 0.90

Tested by

no test coverage detected