code: def test_pickle() -> None:
      a = pl.Series("a", [1, 2])
      b = pickle.dumps(a)
      out = pickle.loads(b)
      assert_series_equal(a, out)
      df = pl.DataFrame(
          {"a": [1, 2], "b": ["a", None], "c": [True, False]}
      )
      b = pickle.dumps(df)
      out = pickle.loads(b)
      assert_frame_equal(df, out)
  
imports: from __future__ import annotations
  import io
  import pickle
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 1 for calling a global function with example usage: test_pickle() without return types