(self, url: str, **kwargs: Any)
| 623 | async def test_cloudflare_exec_timeout_raises_exec_timeout_error() -> None: |
| 624 | class _TimeoutHttp(_FakeHttp): |
| 625 | def post(self, url: str, **kwargs: Any) -> Any: |
| 626 | self._record("POST", url, **kwargs) |
| 627 | raise asyncio.TimeoutError() |
| 628 | |
| 629 | with pytest.raises(ExecTimeoutError): |
| 630 | await _make_session(fake_http=_TimeoutHttp())._exec_internal("sleep", "999", timeout=1.0) |