code: def test_useless_clip():
      x_rv = pt.random.normal(0.5, 1, size=3)
      cens_x_rv = pt.clip(x_rv, x_rv, x_rv)
  
      cens_x_vv = cens_x_rv.clone()
  
      logprob = logp(cens_x_rv, cens_x_vv)
      assert_no_rvs(logprob)
  
      logp_fn = pytensor.function([cens_x_vv], logprob)
      ref_scipy = st.norm(0.5, 1)
  
      np.testing.assert_allclose(
          logp_fn([-2, 0, 2]), ref_scipy.logpdf([-2, 0, 2])
      )
  
imports: import numpy
  import pytensor
  import pytensor.tensor
  import pytest
  import scipy
  import scipy.stats
  from pymc import logp
  from pymc.logprob import conditional_logp
  from pymc.logprob.transform_value import TransformValuesRewrite
  from pymc.logprob.transforms import LogTransform
  from pymc.testing import assert_no_rvs
label_desc: Use image node_id 4 for calling a global function with example usage: test_useless_clip() without return types