code: def test_shared_attributes_section(self):
      class A(SharedDocs):
          """
          Class A.
  
          Attributes
          ----------
          x : int
          y : str
              Short description.
  
          Examples
          --------
          >>> a = A()
          >>> a.x
          0
          """
  
      class B(A):
          """
          Class B.
  
          Attributes
          ----------
          {A.Attributes}
  
          Examples
          --------
          >>> b = B()
          >>> b.x
          1
          """
  
      class ExpectedDoc(object):
          """
          Class B.
  
          Attributes
          ----------
          x : int
          y : str
              Short description.
  
          Examples
          --------
          >>> b = B()
          >>> b.x
          1
          """
  
      self.assertEqual(B.__doc__, ExpectedDoc.__doc__)
  
imports: from neupy.core.docs import SharedDocs, shared_docs, parse_variables_from_docs
  from base import BaseTestCase
label_desc: Use image node_id 7 for calling the SharedDocsParseSectionsTestCase obj's underlying member method code with example usage: obj.test_shared_attributes_section() without return types