code: def test_patient_pruner_experimental_warning() -> None:
      with pytest.warns(optuna.exceptions.ExperimentalWarning):
          optuna.pruners.PatientPruner(None, 0)
  
file_path: optuna/tests/pruners_tests/test_patient.py
imports: from typing import List
  import pytest
  import optuna
label_desc: Use image node_id 1 for calling a global function with example usage: test_patient_pruner_experimental_warning() without return types