code: def save_testing_image(image, location):
      from ..gloo.util import _screenshot
      from ..util import make_png
  
      if image == "screenshot":
          image = _screenshot(alpha=False)
      with open(location + ".png", "wb") as fid:
          fid.write(make_png(image))
  
imports: from __future__ import print_function
  import numpy
  import sys
  import os
  import inspect
  import gc
  import pytest
  import functools
  from packaging.version import Version
  from ..util.check_environment import has_backend
label_desc: Use image node_id 28 for calling a global function with example usage: save_testing_image(image, location) without return types