code: def setup_class(self):
      with Model() as self.model:
          import pymc as pm
  
          with pm.Model() as model:
              a = pm.Normal("a", pm.MutableData("a_data", (2,)))
              b = pm.Normal("b", pm.MutableData("b_data", (2, 3)))
              c = pm.Normal("c", pm.ConstantData("c_data", (2,)))
              d = pm.Normal("d", pm.ConstantData("d_data", (2, 3)))
  
      self.distributions = [a, b, c, d]
      # tuples of (formatting, include_params)
      self.formats = [
          ("plain", True),
          ("plain", False),
          ("latex", True),
          ("latex", False),
      ]
      self.expected = {
          ("plain", True): [
              r"a ~ Normal(2, 1)",
              r"b ~ Normal(<shared>, 1)",
              r"c ~ Normal(2, 1)",
              r"d ~ Normal(<constant>, 1)",
          ],
          ("plain", False): [
              r"a ~ Normal",
              r"b ~ Normal",
              r"c ~ Normal",
              r"d ~ Normal",
          ],
          ("latex", True): [
              r"$\text{a} \sim \operatorname{Normal}(2,~1)$",
              r"$\text{b} \sim \operatorname{Normal}(\text{<shared>},~1)$",
              r"$\text{c} \sim \operatorname{Normal}(2,~1)$",
              r"$\text{d} \sim \operatorname{Normal}(\text{<constant>},~1)$",
          ],
          ("latex", False): [
              r"$\text{a} \sim \operatorname{Normal}$",
              r"$\text{b} \sim \operatorname{Normal}$",
              r"$\text{c} \sim \operatorname{Normal}$",
              r"$\text{d} \sim \operatorname{Normal}$",
          ],
      }
  
file_path: pymc/tests/test_printing.py
imports: import numpy
  from pytensor.tensor.random import normal
  from pymc import Bernoulli, Censored, HalfCauchy, Mixture, StudentT
  from pymc.distributions import Dirichlet, DirichletMultinomial, HalfNormal, KroneckerNormal, MvNormal, NegativeBinomial, Normal, Uniform, ZeroInflatedPoisson
  from pymc.math import dot
  from pymc.model import Deterministic, Model, Potential
  from pymc.pytensorf import floatX
label_desc: Use image node_id 1 for calling the TestData obj's underlying member method code with example usage: obj.setup_class() without return types