def METHOD_NAME(
    input_: Any, expected: str, type_: type
) -> None:
    if type_ == bool:
        for t in input_:
            c = OmegaConf.create([t, 1])
            expected = "- '%s'\n- 1\n" % t
            assert OmegaConf.to_yaml(c) == expected
    else:
        c = OmegaConf.create(input_)
        assert OmegaConf.to_yaml(c) == expected