code: def test_no_pickling_in_forking_mode():
      # modify callback name so that an attempt to pickle it in spawn mode would fail
      _simple_callback.__name__ = (
          _simple_callback.__qualname__
      ) = "simple_callback"
      _create_and_compare_simple_pipelines(
          _simple_callback,
          None,
          batch_size=8,
          py_num_workers=2,
          py_start_method="fork",
      )
  
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 23 for calling a global function with example usage: test_no_pickling_in_forking_mode() without return types