code: def test_change_truncated_size():
      x = Truncated.dist(
          icdf_normal(0, [1, 2, 3]), lower=-1, size=(2, 3)
      )
      x.eval().shape == (2, 3)
  
      new_x = change_dist_size(x, (4, 3))
      assert isinstance(new_x.owner.op, TruncatedRV)
      new_x.eval().shape == (4, 3)
  
      new_x = change_dist_size(x, (4, 3), expand=True)
      assert isinstance(new_x.owner.op, TruncatedRV)
      new_x.eval().shape == (4, 3, 2, 3)
  
imports: import numpy
  import pytensor
  import pytensor.tensor
  import pytest
  import scipy
  from pytensor.tensor.random.basic import GeometricRV, NormalRV
  from pymc import Censored, Model, draw, find_MAP
  from pymc.distributions.continuous import Exponential, Gamma, TruncatedNormal, TruncatedNormalRV
  from pymc.distributions.shape_utils import change_dist_size
  from pymc.distributions.transforms import _default_transform
  from pymc.distributions.truncated import Truncated, TruncatedRV, _truncated
  from pymc.exceptions import TruncationError
  from pymc.logprob.abstract import _icdf
  from pymc.logprob.basic import logcdf, logp
  from pymc.logprob.transforms import IntervalTransform
  from pymc.logprob.utils import ParameterValueError
  from pymc.testing import assert_moment_is_expected
label_desc: Use image node_id 12 for calling a global function with example usage: test_change_truncated_size() without return types