code: def test_numba_Cholesky_raises_on_nan_input():
      test_value = rng.random(size=(3, 3)).astype(config.floatX)
      test_value[0, 0] = np.nan
  
      x = pt.tensor(dtype=config.floatX, shape=(3, 3))
      x = x.T.dot(x)
      g = pt.linalg.cholesky(x, check_finite=True)
      f = pytensor.function([x], g, mode="NUMBA")
  
      with pytest.raises(
          np.linalg.LinAlgError, match=r"Non-numeric values"
      ):
          f(test_value)
  
file_path: pytensor/tests/link/numba/test_slinalg.py
imports: import re
  import numpy
  import pytest
  import pytensor
  import pytensor.tensor
  from pytensor import config
  from pytensor.compile import SharedVariable
  from pytensor.graph import Constant, FunctionGraph
  from tests.link.numba.test_basic import compare_numba_and_py
  from tests.tensor.test_extra_ops import set_test_value
label_desc: Use image node_id 5 for calling a global function with example usage: test_numba_Cholesky_raises_on_nan_input() without return types