code: def assert_tuple_approx_equal(actuals, targets, threshold, msg):
      """Tests if actuals has values within threshold from targets"""
      value = True
      for i, target in enumerate(targets):
          value *= (
              target - threshold <= actuals[i] <= target + threshold
          )
  
      assert value, msg + ": " + repr(actuals) + " != " + repr(targets)
  
imports: import logging
  import os
  import shutil
  import sys
  import sysconfig
  import tempfile
  from io import BytesIO
  import pytest
  from packaging.version import parse
  from PIL import Image, ImageMath, features
label_desc: Use image node_id 10 for calling a global function with example usage: assert_tuple_approx_equal(actuals, targets, threshold, msg) without return types