def group_pairs(items):
    """Groups an even-sized list into contiguous pairs."""
    if len(items) % 2 != 0:
        raise ValueError(f'Expected even number of items, got {items!r}')
    return list(zip(items[::2], items[1::2]))
