()
| 756 | |
| 757 | @pytest.mark.anyio |
| 758 | async def test_cannot_aread_after_response_closed(): |
| 759 | response = httpx.Response( |
| 760 | 200, |
| 761 | content=async_streaming_body(), |
| 762 | ) |
| 763 | |
| 764 | await response.aclose() |
| 765 | with pytest.raises(httpx.StreamClosed): |
| 766 | await response.aread() |
| 767 | |
| 768 | |
| 769 | @pytest.mark.anyio |
nothing calls this directly
no test coverage detected