

@pytest.mark.parametrize('update,expected', [(None, {
    
}), (['a=5'], {
    'a': 5,
}), (['foo.bar=6'], {
    'foo': {
        'bar': 6,
    },
}), (['a=9', 'b=0'], {
    'a': 9,
    'b': 0,
}), (["hello='world'"], {
    'hello': 'world',
}), (['hello="world"'], {
    'hello': 'world',
}), (['f=23.5'], {
    'f': 23.5,
}), (['n=None'], {
    'n': None,
}), (['t=True'], {
    't': True,
}), (['f=False'], {
    'f': False,
})])
def test_get_config_updates(update, expected):
    assert (get_config_updates(expected) == (expected, []))

dataset/ETHPy150Open IDSIA/sacred/tests/test_arg_parser.py test_get_config_updates/VarMisuse@186/267 `update`->`expected`