code: def get_logo_png():
      # Once the tests are not in the package, this context manager can be
      # replaced with the location of the actual file
      LOGO_DATA = pkgutil.get_data(
          "ipywidgets.widgets.tests",
          "data/jupyter-logo-transparent.png",
      )
      handle, fname = tempfile.mkstemp()
      os.close(handle)
      with open(fname, "wb") as f:
          f.write(LOGO_DATA)
  
      yield fname
  
      os.remove(fname)
  
imports: import io
  import os
  from ipywidgets import Image
  import hashlib
  import pkgutil
  import tempfile
  from contextlib import contextmanager
label_desc: Use image node_id 1 for calling a global function with example usage: get_logo_png() without return types