@contextmanager
def raises_expected_n_args(n: int):
    with exits_and_writes_to_stderr(f'expected {n} arguments'):
        (yield)
@contextmanager
def raises_expected_n_args(n: int):
    with exits_and_writes_to_stderr(f'expected {n} arguments'):
        (yield)