docstr: Make sure we can save and load (un/pickle) TextCorpus objects (as long
  as the underlying input isn't a file-like object; we cannot pickle those).
docstr_tok: ["Make","sure","we","can","save","and","load","(","un\/pickle",")","TextCorpus","objects","(","as","long","as","the","underlying","input","is","n't","a","file-like","object",";","we","can","not","pickle","those",")","."]
code: def test_save_load_ability(self):
      """
      Make sure we can save and load (un/pickle) TextCorpus objects (as long
      as the underlying input isn't a file-like object; we cannot pickle those).
      """
      # construct corpus from file
      corpusname = datapath("miIslita.cor")
      miislita = CorpusMiislita(corpusname)
  
      # pickle to disk
      tmpf = get_tmpfile("tc_test.cpickle")
      miislita.save(tmpf)
  
      miislita2 = CorpusMiislita.load(tmpf)
  
      self.assertEqual(len(miislita), len(miislita2))
      self.assertEqual(
          miislita.dictionary.token2id, miislita2.dictionary.token2id
      )
  
file_path: gensim/gensim/test/test_miislita.py
imports: from __future__ import division
  from __future__ import with_statement
  import logging
  import os
  import unittest
  from gensim import utils, corpora, models, similarities
  from gensim.test.utils import datapath, get_tmpfile
label_desc: Use image node_id 2 for calling the TestMiislita obj's underlying member method code with example usage: obj.test_save_load_ability() without return types