()
| 571 | |
| 572 | @pytest.mark.anyio |
| 573 | async def test_aiter_bytes(): |
| 574 | response = httpx.Response( |
| 575 | 200, |
| 576 | content=b"Hello, world!", |
| 577 | ) |
| 578 | |
| 579 | content = b"" |
| 580 | async for part in response.aiter_bytes(): |
| 581 | content += part |
| 582 | assert content == b"Hello, world!" |
| 583 | |
| 584 | |
| 585 | @pytest.mark.anyio |
nothing calls this directly
no test coverage detected