code: def test_pickleability():
      # Ignore base classes
      ignore = (
          columns.Column,
          columns.WrappedColumn,
          columns.ListColumn,
      )
      # Required arguments
      init_args = {
          "ClampedNumericColumn": (columns.NumericColumn("B"),),
          "FixedBytesColumn": (5,),
          "FixedBytesListColumn": (5,),
          "NumericColumn": ("i",),
          "PickleColumn": (columns.VarBytesColumn(),),
          "StructColumn": ("=if", (0, 0.0)),
      }
  
      coltypes = [
          c
          for _, c in inspect.getmembers(columns, inspect.isclass)
          if issubclass(c, columns.Column) and not c in ignore
      ]
  
      for coltype in coltypes:
          args = init_args.get(coltype.__name__, ())
          try:
              inst = coltype(*args)
          except TypeError:
              e = sys.exc_info()[1]
              raise TypeError(
                  "Error instantiating %r: %s" % (coltype, e)
              )
          _ = loads(dumps(inst, -1))
  
file_path: whoosh/tests/test_columns.py
imports: from __future__ import with_statement
  import inspect, random, sys
  from whoosh import columns, fields, query
  from whoosh.codec.whoosh3 import W3Codec
  from whoosh.compat import b, u, BytesIO, bytes_type, text_type
  from whoosh.compat import izip, xrange, dumps, loads
  from whoosh.filedb import compound
  from whoosh.filedb.filestore import RamStorage
  from whoosh.util.testing import TempIndex, TempStorage
label_desc: Use image node_id 1 for calling a global function with example usage: test_pickleability() without return types