code: def test_picklablility():
      # we have to modify the doctree so we can pickle it
      copy = original.copy()
      copy.reporter = None
      copy.transformer = None
      copy.settings.warning_stream = None
      copy.settings.env = None
      copy.settings.record_dependencies = None
      loaded = pickle.loads(pickle.dumps(copy, pickle.HIGHEST_PROTOCOL))
      assert all(
          getattr(n, "uid", False) for n in loaded.findall(is_paragraph)
      )
  
file_path: sphinx/tests/test_versioning.py
imports: import pickle
  import shutil
  import pytest
  from sphinx.testing.util import SphinxTestApp
  from sphinx.versioning import add_uids, get_ratio, merge_doctrees
label_desc: Use image node_id 6 for calling a global function with example usage: test_picklablility() without return types