code: def test_to_frame_datetime_tz(self):
      # GH#25809
      idx = date_range(
          start="2019-01-01", end="2019-01-30", freq="D", tz="UTC"
      )
      result = idx.to_frame()
      expected = DataFrame(idx, index=idx)
      tm.assert_frame_equal(result, expected)
  
imports: from pandas import DataFrame, Index, date_range
  import pandas._testing
label_desc: Use image node_id 1 for calling the TestToFrame obj's underlying member method code with example usage: obj.test_to_frame_datetime_tz() without return types