def METHOD_NAME():
    with pytest.raises(ValueError) as excinfo:
        r._entry_validate(['Rscript', '-e', 'expr1', '--another-arg'])
    msg, = excinfo.value.args
    assert msg == 'You can supply at most one expression.'