code: def register_case(suite):
      def decorator(test_case):
          suite.append(test_case)
          return test_case
  
      return decorator
  
imports: import copyreg
  import numpy
  import nvidia.dali.fn
  import nvidia.dali.pickling
  import os
  from nvidia.dali import pipeline_def
  from pickle import PicklingError
  from nose_utils import raises
  from test_utils import get_dali_extra_path, restrict_python_version
label_desc: Use image node_id 1 for calling a global function with example usage: register_case(suite) and returns: decorator, test_case