code: def test_slice_datetimetz_index():
      data = ["2001-01-01", "2001-01-02", None, None, "2001-01-03"]
      pidx = pd.DatetimeIndex(data, dtype="datetime64[ns]").tz_localize(
          "US/Eastern"
      )
      idx = cudf.DatetimeIndex(
          data, dtype="datetime64[ns]"
      ).tz_localize("US/Eastern")
      expected = pidx[1:4]
      got = idx[1:4]
      assert_eq(expected, got)
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_slice_datetimetz_index() without return types