class_docstr: Make sure classes do not have a docstring in their __init__ method.
class_docstr_tok: ["Make","sure","classes","do","not","have","a","docstring","in","their","__init__","method","."]
code: def test_init_docstring_empty(self):
      errors = []
      root = chainer.__path__
      for loader, modname, ispkg in pkgutil.walk_packages(
          root, "chainer."
      ):
          # Skip modules generated by protobuf.
          if "_pb2" in modname:
              continue
  
          try:
              mod = importlib.import_module(modname)
          except ImportError:
              continue
  
          self.check_init_docstring(mod, errors)
  
      if errors:
          msg = ""
          for mod, value, init_doc in errors:
              msg += "{}.{} has __init__.__doc__:\n{}\n\n".format(
                  mod.__name__, value, init_doc
              )
          self.fail(msg)
  
file_path: chainer/tests/chainer_tests/test_init_docstring.py
imports: import importlib
  import inspect
  import pkgutil
  import unittest
  import chainer
  from chainer import testing
label_desc: Use image node_id 2 for calling the TestInitDocstring obj's underlying member method code with example usage: obj.test_init_docstring_empty() without return types