def METHOD_NAME():
    with pytest.raises(DagsterInvalidConfigDefinitionError) as exc_info:
        @op(config_schema={"bad_list": []})
        def _bad_list_config(_):
            pass
    assert str(exc_info.value).startswith(
        "Error defining config. Original value passed: {'bad_list': []}. "
        "Error at stack path :bad_list. [] cannot be resolved. "
        "Reason: List must be of length 1."
    )