code: def test_repeat_preserves_tz(self):
      dti = pd.date_range("2000", periods=2, freq="D", tz="US/Central")
      arr = dti._data
  
      repeated = arr.repeat([1, 1])
  
      # preserves tz and values, but not freq
      expected = DatetimeArray._from_sequence(arr.asi8, dtype=arr.dtype)
      tm.assert_equal(repeated, expected)
  
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 13 for calling the TestDatetimeArray obj's underlying member method code with example usage: obj.test_repeat_preserves_tz() without return types