def METHOD_NAME(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)