code: def test_at_time(self, frame_or_series):
      rng = date_range("1/1/2000", "1/5/2000", freq="5min")
      ts = DataFrame(
          np.random.default_rng(2).standard_normal((len(rng), 2)),
          index=rng,
      )
      ts = tm.get_obj(ts, frame_or_series)
      rs = ts.at_time(rng[1])
      assert (rs.index.hour == rng[1].hour).all()
      assert (rs.index.minute == rng[1].minute).all()
      assert (rs.index.second == rng[1].second).all()
  
      result = ts.at_time("9:30")
      expected = ts.at_time(time(9, 30))
      tm.assert_equal(result, expected)
  
file_path: pandas/pandas/tests/frame/methods/test_at_time.py
imports: from datetime import time
  import numpy
  import pytest
  import pytz
  from pandas._libs.tslibs import timezones
  from pandas import DataFrame, date_range
  import pandas._testing
label_desc: Use image node_id 2 for calling the TestAtTime obj's underlying member method code with example usage: obj.test_at_time(frame_or_series) without return types