code: def test_time():
      """Test a simple timeline"""
      time_chart = TimeLine(truncate_label=1000)
      time_chart.add(
          "times",
          [
              (time(1, 12, 29), 2),
              (time(21, 2, 29), 10),
              (time(12, 30, 59), 7),
          ],
      )
  
      q = time_chart.render_pyquery()
      dates = list(
          map(lambda t: t.split(" ")[0], q(".axis.x text").map(texts))
      )
      assert dates == [
          "02:46:40",
          "05:33:20",
          "08:20:00",
          "11:06:40",
          "13:53:20",
          "16:40:00",
          "19:26:40",
      ]
  
file_path: pygal/pygal/test/test_date.py
imports: from datetime import date, datetime, time, timedelta, timezone
  from pygal import DateLine, DateTimeLine, TimeDeltaLine, TimeLine
  from pygal._compat import timestamp
  from pygal.test.utils import texts
label_desc: Use image node_id 2 for calling a global function with example usage: test_time() without return types