code: def test_percentile_pruner_percentile() -> None:
      optuna.pruners.PercentilePruner(0.0)
      optuna.pruners.PercentilePruner(25.0)
      optuna.pruners.PercentilePruner(100.0)
  
      with pytest.raises(ValueError):
          optuna.pruners.PercentilePruner(-0.1)
  
      with pytest.raises(ValueError):
          optuna.pruners.PercentilePruner(100.1)
  
file_path: optuna/tests/pruners_tests/test_percentile.py
imports: import math
  from typing import List
  from typing import Tuple
  import warnings
  import pytest
  import optuna
  from optuna.pruners import _percentile
  from optuna.study import Study
  from optuna.study import StudyDirection
  from optuna.trial import TrialState
label_desc: Use image node_id 1 for calling a global function with example usage: test_percentile_pruner_percentile() without return types