code: def test_convert(from_tz, to_tz):
      ps = pd.Series(pd.date_range("2023-01-01", periods=3, freq="H"))
      gs = cudf.from_pandas(ps)
      ps = ps.dt.tz_localize(from_tz)
      gs = gs.dt.tz_localize(from_tz)
      expect = ps.dt.tz_convert(to_tz)
      got = gs.dt.tz_convert(to_tz)
      assert_eq(expect, got)
  
file_path: cudf/python/cudf/cudf/tests/series/test_datetimelike.py
imports: import os
  import pandas
  import pytest
  import cudf
  from cudf import date_range
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 9 for calling a global function with example usage: test_convert(from_tz, to_tz) without return types