code: def test_bug1971():
      for _ in range(2):
          doc = fitz.Document(f"{scriptdir}/resources/bug1971.pdf")
          page = next(doc.pages())
          page.get_drawings()
          doc.close()
          assert doc.is_closed
  
imports: import io
  import os
  import fitz
  import pickle
label_desc: Use image node_id 17 for calling a global function with example usage: test_bug1971() without return types