(send: Send)
| 230 | |
| 231 | |
| 232 | async 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 | |
| 241 | LISTS: list[Callable[[], object]] = [ |