async def METHOD_NAME(group: AsyncGroup):
    """Ensure that all active tasks have been cancelled"""
    group.add_task(void())
    group.add_task(sleep_1s())
    cancelled = await group.cancel()
    assert group.done
    assert len(cancelled) == 2
    assert all(f.cancelled() for f in cancelled)