code: def test_nested_pickling(tmp_path):
      def make_pickle() -> bytes:
          return pickle.dumps(hello_fn)
  
      pkl = make_pickle()
      assert bytes(__name__, "ascii") in pkl
      assert b"hello_fn" in pkl
      ex = LocalExecutor(tmp_path)
      j = ex.submit(make_pickle)
      assert j.result() == pkl
  
file_path: submitit/submitit/test_pickle.py
imports: import pickle
  from weakref import ref
  import pytest
  from .local.debug import DebugExecutor
  from .local.local import LocalExecutor
label_desc: Use image node_id 5 for calling a global function with example usage: test_nested_pickling(tmp_path) and returns: pickle