code: def test_chrono_system_clock_roundtrip_date():
      date1 = datetime.date.today()
  
      # Roundtrip the time
      datetime2 = m.test_chrono2(date1)
      date2 = datetime2.date()
      time2 = datetime2.time()
  
      # The returned value should be a datetime
      assert isinstance(datetime2, datetime.datetime)
      assert isinstance(date2, datetime.date)
      assert isinstance(time2, datetime.time)
  
      # They should be identical (no information lost on roundtrip)
      diff = abs(date1 - date2)
      assert diff.days == 0
      assert diff.seconds == 0
      assert diff.microseconds == 0
  
      # Year, Month & Day should be the same after the round trip
      assert date1 == date2
  
      # There should be no time information
      assert time2.hour == 0
      assert time2.minute == 0
      assert time2.second == 0
      assert time2.microsecond == 0
  
file_path: coremltools/deps/pybind11/tests/test_chrono.py
imports: import datetime
  import pytest
  import env
  from pybind11_tests import chrono
label_desc: Use image node_id 3 for calling a global function with example usage: test_chrono_system_clock_roundtrip_date() without return types