code: def __init__(
      self, raw_dist, raw_params, expected_value_domain, xfail_reason=""
  ):
      assert isinstance(raw_dist, str)
      self.raw_dist = re.sub(r"\s+", " ", raw_dist.strip())
      self.raw_params = raw_params
      self.expected_value_domain = expected_value_domain
      TEST_CASES.append(
          self
          if not xfail_reason
          else xfail_param(self, reason=xfail_reason)
      )
  
imports: import re
  from collections import OrderedDict, namedtuple
  from importlib import import_module
  import numpy
  import pytest
  import funsor
  import funsor.ops
  from funsor.distribution import BACKEND_TO_DISTRIBUTIONS_BACKEND
  from funsor.interpretations import CallableInterpretation, eager, lazy, normalize, reflect
  from funsor.terms import to_data, to_funsor
  from funsor.testing import assert_close, check_funsor, excludes_backend, rand, randint, randn, random_scale_tril, xfail_if_not_found, xfail_if_not_implemented, xfail_param
  from funsor.util import get_backend
label_desc: Use image node_id 1 to create a new DistTestCase object  with example: obj = DistTestCase(raw_dist, raw_params, expected_value_domain, xfail_reason)