()
| 768 | |
| 769 | @pytest.mark.anyio |
| 770 | async def test_elapsed_not_available_until_closed(): |
| 771 | response = httpx.Response( |
| 772 | 200, |
| 773 | content=async_streaming_body(), |
| 774 | ) |
| 775 | |
| 776 | with pytest.raises(RuntimeError): |
| 777 | response.elapsed # noqa: B018 |
| 778 | |
| 779 | |
| 780 | def test_unknown_status_code(): |
nothing calls this directly
no test coverage detected