code: def test_round_timestamp():
      now = datetime.now()
      now = now.replace(second=0, microsecond=0)
      result = format_datetime(now)
      pattern = (
          rf"{now.year}/{now.month}/{now.day} {now.hour}:{now.minute}"
      )
      assert_that(
          result,
          instance_of(str),
          matches_regexp(pattern),  # type: ignore
      )
  
      now = now.replace(hour=0, minute=0)
      pattern = rf"{now.year}/{now.month}/{now.day}"
      assert_that(
          result,
          instance_of(str),
          matches_regexp(pattern),  # type: ignore
      )
  
file_path: deepchecks/tests/utils/test_string_utils.py
imports: from datetime import datetime
  from hamcrest import assert_that, calling, equal_to, instance_of, matches_regexp, raises
  from deepchecks.utils.strings import format_datetime, truncate_string
label_desc: Use image node_id 5 for calling a global function with example usage: test_round_timestamp() without return types