code: def test_get_rank_info_non_exist_param_error() -> None:
      study = prepare_study_with_trials()
  
      with pytest.raises(ValueError):
          _get_rank_info(
              study,
              ["optuna"],
              target=None,
              target_name="Objective Value",
          )
  
imports: from __future__ import annotations
  from io import BytesIO
  import math
  from typing import Any
  from typing import Callable
  import numpy
  import pytest
  from optuna.distributions import BaseDistribution
  from optuna.distributions import CategoricalDistribution
  from optuna.distributions import FloatDistribution
  from optuna.samplers._base import _CONSTRAINTS_KEY
  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.visualization import plot_rank
  from optuna.visualization._plotly_imports import go
  from optuna.visualization._rank import _AxisInfo
  from optuna.visualization._rank import _convert_color_idxs_to_scaled_rgb_colors
  from optuna.visualization._rank import _get_axis_info
  from optuna.visualization._rank import _get_order_with_same_order_averaging
  from optuna.visualization._rank import _get_rank_info
  from optuna.visualization._rank import _RankPlotInfo
  from optuna.visualization._rank import _RankSubplotInfo
label_desc: Use image node_id 11 for calling a global function with example usage: test_get_rank_info_non_exist_param_error() without return types