code: def assert_close(actual, expected, tolerance=0.3):
      print("assert_close", actual, expected)
      assert abs(actual - expected) / expected < tolerance, (
          actual,
          expected,
      )
  
file_path: ray/python/ray/data/tests/test_size_estimation.py
imports: import os
  import uuid
  import pytest
  import ray
  from ray.data._internal.arrow_block import ArrowBlockBuilder
  from ray.tests.conftest import *
label_desc: Use image node_id 1 for calling a global function with example usage: assert_close(actual, expected, tolerance) without return types