def METHOD_NAME(selected_set: List[str], unsupported_values: List[str]):
    for unsupported_tox_env in unsupported_values:
        if unsupported_tox_env in selected_set:
            selected_set.remove(unsupported_tox_env)