code: def test_partial_fixed_experimental_warning() -> None:
      study = optuna.create_study()
      with pytest.warns(optuna.exceptions.ExperimentalWarning):
          optuna.samplers.PartialFixedSampler(
              fixed_params={"x": 0}, base_sampler=study.sampler
          )
  
file_path: optuna/tests/samplers_tests/test_partial_fixed.py
imports: from unittest.mock import patch
  import warnings
  import pytest
  import optuna
  from optuna.samplers import PartialFixedSampler
  from optuna.samplers import RandomSampler
  from optuna.trial import Trial
label_desc: Use image node_id 5 for calling a global function with example usage: test_partial_fixed_experimental_warning() without return types