code: def test_serializable(obj):
      # GH 35611
      unpickled = tm.round_trip_pickle(obj)
      assert type(obj) == type(unpickled)
  
imports: import collections
  from functools import partial
  import string
  import subprocess
  import sys
  import textwrap
  import numpy
  import pytest
  import pandas
  from pandas import Series
  import pandas._testing
  from pandas.core import ops
  import pandas.core.common
  from pandas.util.version import Version
label_desc: Use image node_id 9 for calling a global function with example usage: test_serializable(obj) without return types