code: def test_info(self):
      data = api.info("text8")
      self.assertEqual(data["parts"], 1)
      self.assertEqual(data["file_name"], "text8.gz")
      data = api.info()
      self.assertEqual(
          sorted(data.keys()), sorted(["models", "corpora"])
      )
      self.assertTrue(len(data["models"]))
      self.assertTrue(len(data["corpora"]))
      name_only_data = api.info(name_only=True)
      self.assertEqual(len(name_only_data.keys()), 2)
      self.assertTrue({"models", "corpora"} == set(name_only_data))
  
file_path: gensim/gensim/test/test_api.py
imports: import logging
  import unittest
  import os
  import gensim.downloader
  import shutil
  import numpy
label_desc: Use image node_id 5 for calling the TestApi obj's underlying member method code with example usage: obj.test_info() without return types