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