code: def test_shared_methods(self):
      class A(SharedDocs):
          """
              Class A documentation.
  
              Methods
              -------
              foo()
                  Foo description.
                  Even more
              bar(params=True)
              double_row(param1=True, param2=True,\
              param3=True)
                  Additional description for ``double_row``.
  
              Examples
              --------
              one-two-three
              """
  
      class B(A):
          """
          Class B documentation.
  
          Methods
          -------
          {A.foo}
          {A.bar}
          {A.double_row}
          """
  
      self.assertIn("Class B documentation", B.__doc__)
  
      self.assertIn("foo()", B.__doc__)
      self.assertIn("Foo description.", B.__doc__)
      self.assertIn("Even more", B.__doc__)
      self.assertIn("bar(params=True)", B.__doc__)
  
      # Check multi-row method
      self.assertIn("double_row(param1=True, param2=True,", B.__doc__)
      self.assertIn("param3=True)", B.__doc__)
      self.assertIn(
          "Additional description for ``double_row``.", B.__doc__
      )
  
imports: from neupy.core.docs import SharedDocs, shared_docs, parse_variables_from_docs
  from base import BaseTestCase
label_desc: Use image node_id 2 for calling the SharedDocsTestCase obj's underlying member method code with example usage: obj.test_shared_methods() without return types