code: def assert_unamb_span(ts, sargs, eargs):
      startdt = adatetime(**sargs).floor()
      enddt = adatetime(**eargs).ceil()
      assert ts.start == startdt, "start %s != %s" % (ts.start, startdt)
      assert ts.end == enddt, "end %s != %s" % (ts.end, enddt)
  
file_path: whoosh/tests/test_dateparse.py
imports: from whoosh.qparser.dateparse import *
label_desc: Use image node_id 4 for calling a global function with example usage: assert_unamb_span(ts, sargs, eargs) without return types