code: def test_cuda(example):
      logger.info("Running:\npython examples/{}".format(example))
      example = example.split()
      filename, args = example[0], example[1:]
      filename = os.path.join(EXAMPLES_DIR, filename)
      check_call([sys.executable, filename] + args)
  
file_path: pyro/tests/test_examples.py
imports: import logging
  import os
  import sys
  from subprocess import check_call
  import pytest
  import torch
  from tests.common import EXAMPLES_DIR, requires_cuda, requires_funsor, requires_horovod, requires_lightning, xfail_param
label_desc: Use image node_id 4 for calling a global function with example usage: test_cuda(example) without return types