code: def test_conditionally_positive_definite(kernel):
      # Test if each kernel in _AVAILABLE is conditionally positive definite of
      # order m, where m comes from _NAME_TO_MIN_DEGREE. This is a necessary
      # condition for the smoothed RBF interpolant to be well-posed in general.
      m = _NAME_TO_MIN_DEGREE.get(kernel, -1) + 1
      assert _is_conditionally_positive_definite(kernel, m)
  
imports: import pickle
  import pytest
  import numpy
  from numpy.linalg import LinAlgError
  from numpy.testing import assert_allclose, assert_array_equal
  from scipy.stats.qmc import Halton
  from scipy.spatial import cKDTree
  from scipy.interpolate._rbfinterp import _AVAILABLE, _SCALE_INVARIANT, _NAME_TO_MIN_DEGREE, _monomial_powers, RBFInterpolator
  from scipy.interpolate import _rbfinterp_pythran
label_desc: Use image node_id 5 for calling a global function with example usage: test_conditionally_positive_definite(kernel) without return types