code: def test_searchsorted_tzawareness_compat(self, index):
      data = np.arange(10, dtype="i8") * 24 * 3600 * 10**9
      arr = pd.DatetimeIndex(data, freq="D")._data
      if index:
          arr = pd.Index(arr)
  
      mismatch = arr.tz_localize("Asia/Tokyo")
  
      msg = "Cannot compare tz-naive and tz-aware datetime-like objects"
      with pytest.raises(TypeError, match=msg):
          arr.searchsorted(mismatch[0])
      with pytest.raises(TypeError, match=msg):
          arr.searchsorted(mismatch)
  
      with pytest.raises(TypeError, match=msg):
          mismatch.searchsorted(arr[0])
      with pytest.raises(TypeError, match=msg):
          mismatch.searchsorted(arr)
  
imports: from __future__ import annotations
  from datetime import timedelta
  import operator
  import numpy
  import pytest
  from pandas._libs.tslibs import tz_compare
  from pandas.core.dtypes.dtypes import DatetimeTZDtype
  import pandas
  import pandas._testing
  from pandas.core.arrays import DatetimeArray, TimedeltaArray
label_desc: Use image node_id 20 for calling the TestDatetimeArray obj's underlying member method code with example usage: obj.test_searchsorted_tzawareness_compat(index) without return types