class_docstr: Test common dtype coercion rules between concat and append.
class_docstr_tok: ["Test","common","dtype","coercion","rules","between","concat","and","append","."]
code: def test_concatlike_datetimetz(self, tz_aware_fixture):
      tz = tz_aware_fixture
      # GH 7795
      dti1 = pd.DatetimeIndex(["2011-01-01", "2011-01-02"], tz=tz)
      dti2 = pd.DatetimeIndex(["2012-01-01", "2012-01-02"], tz=tz)
  
      exp = pd.DatetimeIndex(
          ["2011-01-01", "2011-01-02", "2012-01-01", "2012-01-02"],
          tz=tz,
      )
  
      res = dti1.append(dti2)
      tm.assert_index_equal(res, exp)
  
      dts1 = Series(dti1)
      dts2 = Series(dti2)
      res = dts1._append(dts2)
      tm.assert_series_equal(res, Series(exp, index=[0, 1, 0, 1]))
  
      res = pd.concat([dts1, dts2])
      tm.assert_series_equal(res, Series(exp, index=[0, 1, 0, 1]))
  
imports: import numpy
  import pytest
  import pandas
  from pandas import Categorical, DataFrame, Index, Series
  import pandas._testing
label_desc: Use image node_id 5 for calling the TestConcatAppendCommon obj's underlying member method code with example usage: obj.test_concatlike_datetimetz(tz_aware_fixture) without return types