()
| 660 | |
| 661 | |
| 662 | def test_iter_lines(): |
| 663 | response = httpx.Response( |
| 664 | 200, |
| 665 | content=b"Hello,\nworld!", |
| 666 | ) |
| 667 | content = list(response.iter_lines()) |
| 668 | assert content == ["Hello,", "world!"] |
| 669 | |
| 670 | |
| 671 | @pytest.mark.anyio |
nothing calls this directly
no test coverage detected