code: def test_infer_relative_search_space() -> None:
      sampler = MOTPEMultiObjectiveSampler()
      # Study and frozen-trial are not supposed to be accessed.
      study = Mock(spec=[])
      frozen_trial = Mock(spec=[])
      assert (
          sampler.infer_relative_search_space(study, frozen_trial) == {}
      )
  
file_path: optuna/tests/multi_objective_tests/samplers_tests/test_motpe.py
imports: from typing import Dict
  from typing import Tuple
  from unittest.mock import Mock
  from unittest.mock import patch
  import pytest
  import optuna
  from optuna import multi_objective
  from optuna.multi_objective.samplers import MOTPEMultiObjectiveSampler
  from optuna.samplers import MOTPESampler
label_desc: Use image node_id 3 for calling a global function with example usage: test_infer_relative_search_space() without return types