code: def test_floating_point_duration():
      # Test using a floating point number in seconds
      time = m.test_chrono7(35.525123)
  
      assert isinstance(time, datetime.timedelta)
  
      assert time.seconds == 35
      assert 525122 <= time.microseconds <= 525123
  
      diff = m.test_chrono_float_diff(43.789012, 1.123456)
      assert diff.seconds == 42
      assert 665556 <= diff.microseconds <= 665557
  
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 10 for calling a global function with example usage: test_floating_point_duration() without return types