code: def test_2635():
      """Rendering a page before and after cleaning it should yield the same pixmap."""
      doc = fitz.open(f"{scriptdir}/resources/test_2635.pdf")
      page = doc[0]
      pix1 = page.get_pixmap()  # pixmap before cleaning
  
      page.clean_contents()  # clean page
      pix2 = page.get_pixmap()  # pixmap after cleaning
      assert pix1.samples == pix2.samples
  
imports: import io
  import os
  import fitz
  import pickle
label_desc: Use image node_id 41 for calling a global function with example usage: test_2635() without return types