()
| 633 | |
| 634 | @pytest.mark.anyio |
| 635 | async def test_aiter_text(): |
| 636 | response = httpx.Response( |
| 637 | 200, |
| 638 | content=b"Hello, world!", |
| 639 | ) |
| 640 | |
| 641 | content = "" |
| 642 | async for part in response.aiter_text(): |
| 643 | content += part |
| 644 | assert content == "Hello, world!" |
| 645 | |
| 646 | |
| 647 | @pytest.mark.anyio |
nothing calls this directly
no test coverage detected