code: def dist():
      try:
          module_name = BACKEND_TO_DISTRIBUTIONS_BACKEND[get_backend()]
      except KeyError:
          pytest.skip(
              f"missing distributions module for {get_backend()}"
          )
      return pytest.importorskip(module_name).dist
  
file_path: funsor/test/test_ops.py
imports: import weakref
  import pytest
  from funsor import ops
  from funsor.distribution import BACKEND_TO_DISTRIBUTIONS_BACKEND
  from funsor.ops.builtin import parse_ellipsis, parse_slice
  from funsor.testing import desugar_getitem
  from funsor.util import get_backend
label_desc: Use image node_id 1 for calling a global function with example usage: dist() and returns: pytest