code: def test_inherit_method_docs(self):
      class A(SharedDocs):
          def method(self, x, y):
              """
              Class A method.
  
              Parameters
              ----------
              x : int
                  X variable.
              y : int
                  Y varaible.
  
              Returns
              -------
              int
                  x + y
              """
              return x + y
  
          def method2(self):
              pass
  
      class B(A):
          def method(self, x, y):
              # It's suppose to inherit documentation
              # from the A class
              return x + y
  
          def method2(self):
              pass
  
      self.assertEqual(B.method.__doc__, A.method.__doc__)
      self.assertIsNone(B.method2.__doc__)
  
      class C(A):
          def method(self, x, y):
              """
              Updated documentation for the method.
              """
              return x + y
  
      self.assertNotEqual(C.method.__doc__, A.method.__doc__)
      self.assertIn(
          "Updated documentation for the method.", C.method.__doc__
      )
  
imports: from neupy.core.docs import SharedDocs, shared_docs, parse_variables_from_docs
  from base import BaseTestCase
label_desc: Use image node_id 5 for calling the SharedDocsTestCase obj's underlying member method code with example usage: obj.test_inherit_method_docs() and returns: unknown, unknown, unknown