code: def test_chrono_duration_roundtrip():
      # Get the difference between two times (a timedelta)
      date1 = datetime.datetime.today()
      date2 = datetime.datetime.today()
      diff = date2 - date1
  
      # Make sure this is a timedelta
      assert isinstance(diff, datetime.timedelta)
  
      cpp_diff = m.test_chrono3(diff)
  
      assert cpp_diff == diff
  
      # Negative timedelta roundtrip
      diff = datetime.timedelta(microseconds=-1)
      cpp_diff = m.test_chrono3(diff)
  
      assert cpp_diff == diff
  
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 5 for calling a global function with example usage: test_chrono_duration_roundtrip() without return types