code: def test_indexer_between_time(self):
      # GH#11818
      rng = date_range("1/1/2000", "1/5/2000", freq="5min")
      msg = r"Cannot convert arg \[datetime\.datetime\(2010, 1, 2, 1, 0\)\] to a time"
      with pytest.raises(ValueError, match=msg):
          rng.indexer_between_time(
              datetime(2010, 1, 2, 1), datetime(2010, 1, 2, 5)
          )
  
imports: from datetime import date, datetime, time, timedelta
  import numpy
  import pytest
  from pandas._libs import index
  from pandas.compat.numpy import np_long
  import pandas
  from pandas import DatetimeIndex, Index, Timestamp, bdate_range, date_range, notna
  import pandas._testing
  from pandas.tseries.frequencies import to_offset
label_desc: Use image node_id 1 for calling the TestIndexerBetweenTime obj's underlying member method code with example usage: obj.test_indexer_between_time() without return types