code: def test_get_indexer_date_objs(self):
      rng = date_range("1/1/2000", periods=20)
  
      result = rng.get_indexer(rng.map(lambda x: x.date()))
      expected = rng.get_indexer(rng)
      tm.assert_numpy_array_equal(result, expected)
  
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 TestGetIndexer obj's underlying member method code with example usage: obj.test_get_indexer_date_objs() without return types