code: def test_utils_within_delta():
      d1 = datetime(2016, 1, 1, 12, 14, 1, 9)
      d2 = d1.replace(microsecond=15)
  
      assert within_delta(d1, d2, timedelta(seconds=1))
      assert not within_delta(d1, d2, timedelta(microseconds=1))
  
file_path: catboost/contrib/python/python-dateutil/py3/dateutil/test/test_utils.py
imports: from __future__ import unicode_literals
  from datetime import timedelta, datetime
  from dateutil import tz
  from dateutil import utils
  from dateutil.tz import UTC
  from dateutil.utils import within_delta
  from freezegun import freeze_time
label_desc: Use image node_id 6 for calling a global function with example usage: test_utils_within_delta() without return types