code: def test_target_is_none_and_study_is_multi_obj() -> None:
      study = create_study(directions=["minimize", "minimize"])
      with pytest.raises(ValueError):
          _get_importances_info(
              study=study,
              evaluator=None,
              params=None,
              target=None,
              target_name="Objective Value",
          )
  
imports: from __future__ import annotations
  from io import BytesIO
  from typing import Any
  from typing import Callable
  import pytest
  from optuna.distributions import FloatDistribution
  from optuna.importance import FanovaImportanceEvaluator
  from optuna.importance import MeanDecreaseImpurityImportanceEvaluator
  from optuna.importance._base import BaseImportanceEvaluator
  from optuna.samplers import RandomSampler
  from optuna.study import create_study
  from optuna.study import Study
  from optuna.testing.objectives import fail_objective
  from optuna.testing.visualization import prepare_study_with_trials
  from optuna.trial import create_trial
  from optuna.trial import Trial
  from optuna.visualization import plot_param_importances
  from optuna.visualization._param_importances import _get_importances_info
  from optuna.visualization._param_importances import _get_importances_infos
  from optuna.visualization._param_importances import _ImportancesInfo
  from optuna.visualization._plotly_imports import go
  from optuna.visualization.matplotlib import plot_param_importances
  from optuna.visualization.matplotlib._matplotlib_imports import Axes
  from optuna.visualization.matplotlib._matplotlib_imports import plt
label_desc: Use image node_id 4 for calling a global function with example usage: test_target_is_none_and_study_is_multi_obj() without return types