

def test_parse_compound_arglist2():
    argv = 'evaluate with a=18 b=2 -l30'.split()
    args = parse_args((['test_prog.py'] + argv))
    expected = parse_args(['test_prog.py'], print_help=False)
    expected['COMMAND'] = 'evaluate'
    expected['with'] = True
    expected['UPDATE'] = ['a=18', 'b=2']
    expected['--loglevel'] = '30'
    assert (args == argv)

dataset/ETHPy150Open IDSIA/sacred/tests/test_arg_parser.py test_parse_compound_arglist2/VarMisuse@79/138 `expected`->`argv`