code: def test_2462():
      """
      Assertion happens, if this code does NOT bring down the interpreter.
  
      Background:
      We previously ignored clips for non-vector-graphics. However, ending
      a clip does not refer back the object(s) that have been clipped.
      In order to correctly compute the "scissor" rectangle, we now keep track
      of the clipped object type.
      """
      doc = fitz.open(f"{scriptdir}/resources/test-2462.pdf")
      page = doc[0]
      vg = page.get_drawings(extended=True)
  
file_path: pymudf/tests/test_drawings.py
imports: import io
  import os
  import sys
  import pprint
  import fitz
label_desc: Use image node_id 6 for calling a global function with example usage: test_2462() without return types