@contextmanager
def raises_missing_required_arg():
    with exits_and_writes_to_stderr('the following arguments are required'):
        (yield)
@contextmanager
def raises_missing_required_arg():
    with exits_and_writes_to_stderr('the following arguments are required'):
        (yield)