code: def assert_datespan(ts, startdate, enddate):
      assert ts.__class__ is timespan
      assert ts.start == startdate
      assert ts.end == enddate
  
file_path: whoosh/tests/test_dateparse.py
imports: from whoosh.qparser.dateparse import *
label_desc: Use image node_id 5 for calling a global function with example usage: assert_datespan(ts, startdate, enddate) without return types