async def sleep(secs: Union[int, float]) -> None:
    """Tests can use this function to sleep."""
    await asyncio.sleep(secs)
Tests can use this function to sleep.
test_elasticsearch/test_dsl/async_sleep.py