async def complete(future: asyncio.Future) -> None:
    """Wait for completion of the given future, ignoring cancellation."""
    try:
        await future
    except asyncio.CancelledError:
        pass
Wait for completion of the given future, ignoring cancellation.
mesonbuild/mtest.py