code: def run_cmp2(message, left, right, x, y, fn):
      a = left(x, y)
      b = right(x, y)
      v1 = fn(a, b)
      after = fn(left, right)
      v2 = after(x, y)
      assert_almost_equal_objects(v1, v2, msg=message)
  
file_path: pyvips/tests/helpers/helpers.py
imports: import os
  import sys
  import tempfile
  import pytest
  import pyvips
label_desc: Use image node_id 13 for calling a global function with example usage: run_cmp2(message, left, right, x, y, fn) without return types