(send: Send)
| 302 | |
| 303 | |
| 304 | async def test_scalars(send: Send) -> None: |
| 305 | assert await send({"s": "str", "i": 1, "f": 1.5, "t": True}) == {"s": "str", "i": 1, "f": 1.5, "t": True} |
| 306 | assert await send("bare") == "bare" |
| 307 | assert await send(3) == 3 |
| 308 | |
| 309 | |
| 310 | async def test_scalar_subclasses_are_sent_as_their_value(send: Send) -> None: |