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

Function test_keeps_none

tests/test_prepare.py:232–238  ·  view source on GitHub ↗
(send: Send)

Source from the content-addressed store, hash-verified

230
231
232async def test_keeps_none(send: Send) -> None:
233 assert await send({"foo": None, "bar": {"baz": None}, "items": [None]}) == {
234 "foo": None,
235 "bar": {"baz": None},
236 "items": [None],
237 }
238 assert await send(None) is None
239
240
241LISTS: list[Callable[[], object]] = [

Callers

nothing calls this directly

Calls 1

sendFunction · 0.85

Tested by

no test coverage detected