code: def test_dirac_delta_logprob(dist_params, obs):
      dist_params_at, obs_at, _ = create_pytensor_params(
          dist_params, obs, ()
      )
      dist_params = dict(zip(dist_params_at, dist_params))
  
      x = dirac_delta(*dist_params_at)
  
      @np.vectorize
      def scipy_logprob(obs, c):
          return 0.0 if obs == c else -np.inf
  
      scipy_logprob_tester(x, obs, dist_params, test_fn=scipy_logprob)
  
imports: import numpy
  import pytensor
  import pytest
  from pytensor import function
  from pytensor import tensor
  from pytensor.compile import get_default_mode
  from pytensor.graph.basic import ancestors, equal_computations
  from pytensor.tensor.random.op import RandomVariable
  import pymc
  from pymc import SymbolicRandomVariable, inputvars
  from pymc.distributions.transforms import Interval
  from pymc.logprob.abstract import MeasurableVariable
  from pymc.logprob.basic import logp
  from pymc.logprob.utils import ParameterValueError, check_potential_measurability, dirac_delta, replace_rvs_by_values
  from pymc.testing import assert_no_rvs
  from tests.logprob.utils import create_pytensor_params, scipy_logprob_tester
label_desc: Use image node_id 3 for calling a global function with example usage: test_dirac_delta_logprob(dist_params, obs) and returns: unknown