def METHOD_NAME(config):
    config._old_mark_config = MARK_GEN._config
    MARK_GEN._config = config
    empty_parameterset = config.getini(EMPTY_PARAMETERSET_OPTION)
    if empty_parameterset not in ("skip", "xfail", "fail_at_collect", None, ""):
        raise UsageError(
            "{!s} must be one of skip, xfail or fail_at_collect"
            " but it is {!r}".format(EMPTY_PARAMETERSET_OPTION, empty_parameterset)
        )