()
| 508 | |
| 509 | @pytest.mark.anyio |
| 510 | async def test_aclose_on_sync(): |
| 511 | response = httpx.Response( |
| 512 | 200, |
| 513 | content=streaming_body(), |
| 514 | ) |
| 515 | |
| 516 | with pytest.raises(RuntimeError): |
| 517 | await response.aclose() |
| 518 | |
| 519 | |
| 520 | @pytest.mark.anyio |
nothing calls this directly
no test coverage detected