code: def tmpfile(tmpdir_factory):
      tmpdir = tmpdir_factory.mktemp("temp")
      filename = tmpdir.join("tmpfile")
      yield str(filename)
      try:
          filename.remove(ignore_errors=True)
      except (py.error.EBUSY, py.error.ENOENT):
          pass
  
label_desc: Use image node_id 1 for calling a global function with example usage: tmpfile(tmpdir_factory) without return types