code: def test_ppf(a: float, b: float) -> None:
      for x in np.concatenate(
          [
              np.linspace(0, 1, num=100),
              np.array(
                  [sys.float_info.min, 1 - sys.float_info.epsilon]
              ),
          ]
      ):
          assert truncnorm_ours.ppf(x, a, b) == pytest.approx(
              truncnorm_scipy.ppf(x, a, b), nan_ok=True
          ), f"ppf(x={x}, a={a}, b={b})"
  
file_path: optuna/tests/samplers_tests/tpe_tests/test_truncnorm.py
imports: import sys
  import numpy
  import pytest
  from scipy.stats import truncnorm
  from optuna._imports import try_import
  import optuna.samplers._tpe._truncnorm
label_desc: Use image node_id 1 for calling a global function with example usage: test_ppf(a, b) without return types