Lines Matching refs:None
41 assert self._connector is not None
125 - if self._timeout is not None:
127 - if self._task is None:
139 + if delay is None:
140 + return async_timeout.timeout(None)
170 if self._error_handler is not None and not self._error_handler.done():
188 assert reader is not None
223 @@ -461,7 +461,7 @@ async def test_recv_timeout(aiohttp_client) -> None:
244 @@ -391,48 +390,22 @@ async def test_weakref_handle_weak(loop) -> None:
248 -def test_ceil_call_later() -> None:
256 -def test_ceil_call_later_no_timeout() -> None:
263 -async def test_ceil_timeout(loop) -> None:
264 - with helpers.CeilTimeout(None, loop=loop) as timeout:
265 - assert timeout._timeout is None
266 - assert timeout._cancel_handler is None
267 +async def test_ceil_timeout() -> None:
268 + async with helpers.ceil_timeout(None) as timeout:
269 + assert timeout.deadline is None
272 -def test_ceil_timeout_no_task(loop) -> None:
281 -async def test_ceil_timeout_round(loop) -> None:
284 +async def test_ceil_timeout_round() -> None:
286 + assert cm.deadline is not None
294 -async def test_ceil_timeout_small(loop) -> None:
297 +async def test_ceil_timeout_small() -> None:
299 + assert cm.deadline is not None