code: def test__repr_latex_(self):
      for distribution, tex in zip(
          self.distributions, self.expected[("latex", True)]
      ):
          assert distribution._repr_latex_() == tex
  
      model_tex = self.model._repr_latex_()
  
      # make sure each variable is in the model
      for tex in self.expected[("latex", True)]:
          for segment in tex.strip("$").split(r"\sim"):
              assert segment in model_tex
  
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 BaseTestStrAndLatexRepr obj's underlying member method code with example usage: obj.test__repr_latex_() without return types