code: def test_time_input():
      script = AppTest.from_string(
          """
          import streamlit as st
          import datetime
  
          st.time_input("time", value=datetime.time(8, 30))
          st.time_input("datetime", value=datetime.datetime(2000,1,1, hour=17), step=3600)
          st.time_input("timedelta step", value=datetime.time(2), step=datetime.timedelta(minutes=1))
          """,
      )
      sr = script.run()
      assert not sr.exception
      assert [t.value for t in sr.time_input] == [
          time(8, 30),
          time(17),
          time(2),
      ]
      tis = sr.time_input
      tis[0].increment()
      tis[1].decrement()
      tis[2].increment()
      sr2 = sr.run()
      assert [t.value for t in sr2.time_input] == [
          time(8, 45),
          time(16),
          time(2, 1),
      ]
  
      repr(sr.time_input[0])
  
imports: from datetime import date, datetime, time
  import numpy
  import pandas
  import pytest
  from streamlit.elements.markdown import MARKDOWN_HORIZONTAL_RULE_EXPRESSION
  from streamlit.testing.v1.app_test import AppTest
label_desc: Use image node_id 35 for calling a global function with example usage: test_time_input() without return types