code: def test_transpose_tz_naive_and_tz_aware() -> None:
      df = pl.DataFrame(
          {
              "a": [datetime(2020, 1, 1)],
              "b": [datetime(2020, 1, 1)],
          }
      )
      df = df.with_columns(
          pl.col("b").dt.replace_time_zone("Asia/Kathmandu")
      )
      with pytest.raises(
          ComputeError,
          match=r"failed to determine supertype of datetime\[μs\] and datetime\[μs, Asia/Kathmandu\]",
      ):
          df.transpose()
  
file_path: polars/py-polars/tests/unit/operations/test_transpose.py
imports: from datetime import date, datetime
  from typing import Iterator
  import pytest
  import polars
  from polars.exceptions import ComputeError, StringCacheMismatchError
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 2 for calling a global function with example usage: test_transpose_tz_naive_and_tz_aware() without return types