code: def test_indexing_with_datetime_tz(self):
      # GH#8260
      # support datetime64 with tz
  
      idx = Index(
          date_range("20130101", periods=3, tz="US/Eastern"), name="foo"
      )
      dr = date_range("20130110", periods=3)
      df = DataFrame({"A": idx, "B": dr})
      df["C"] = idx
      df.iloc[1, 1] = pd.NaT
      df.iloc[1, 2] = pd.NaT
  
      expected = Series(
          [
              Timestamp("2013-01-02 00:00:00-0500", tz="US/Eastern"),
              pd.NaT,
              pd.NaT,
          ],
          index=list("ABC"),
          dtype="object",
          name=1,
      )
  
      # indexing
      result = df.iloc[1]
      tm.assert_series_equal(result, expected)
      result = df.loc[1]
      tm.assert_series_equal(result, expected)
  
file_path: pandas/pandas/tests/indexing/test_datetime.py
imports: import re
  import pytest
  import pandas
  from pandas import DataFrame, Index, Series, Timestamp, date_range
  import pandas._testing
label_desc: Use image node_id 2 for calling the TestDatetimeIndex obj's underlying member method code with example usage: obj.test_indexing_with_datetime_tz() without return types