code: def image_comparison(
      baseline_images,
      tol=0,
  ):
      """
      Compare images generated by the test with those specified in
      *baseline_images*, which must correspond, else an `ImageComparisonFailure`
      exception will be raised.
      Parameters
      ----------
      baseline_images : list or None
          A list of strings specifying the names of the images generated by
          calls to `.Figure.savefig`.
          If *None*, the test function must use the ``baseline_images`` fixture,
          either as a parameter or with `pytest.mark.usefixtures`. This value is
          only allowed when using pytest.
      tol : float, default: 0
          The RMS threshold above which the test is considered failed.
          Due to expected small differences in floating-point calculations, on
          32-bit systems an additional 0.06 is added to this threshold.
      """
      if sys.maxsize <= 2**32:
          tol += 0.06
      return _unittest_image_comparison(
          baseline_images=baseline_images,
          tol=tol,
      )
  
file_path: python-igraph/tests/drawing/cairo/utils.py
imports: from pathlib import Path
  import sys
  import inspect
  import functools
  from igraph.drawing import find_cairo
label_desc: Use image node_id 10 for calling a global function with example usage: image_comparison(baseline_images, tol) and returns: _unittest_image_comparison