code: def test_serialize_seriesresampler():
      index = cudf.date_range(start="2001-01-01", periods=10, freq="1T")
      sr = cudf.Series(range(10), index=index)
      re_sampler = sr.resample("3T")
      actual = re_sampler.sum()
      recreated = re_sampler.__class__.deserialize(
          *re_sampler.serialize()
      )
      expected = recreated.sum()
  
      assert_eq(actual, expected)
  
imports: import pickle
  import msgpack
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf.testing import _utils
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 20 for calling a global function with example usage: test_serialize_seriesresampler() without return types