@@ -549,6 +549,7 @@ def test_autodoc_members(app):
549549 actual = do_autodoc (app , 'class' , 'target.inheritance.Base' , options )
550550 assert list (filter (lambda l : '::' in l , actual )) == [
551551 '.. py:class:: Base()' ,
552+ ' .. py:attribute:: Base.inheritedattr' ,
552553 ' .. py:method:: Base.inheritedclassmeth()' ,
553554 ' .. py:method:: Base.inheritedmeth()' ,
554555 ' .. py:method:: Base.inheritedstaticmeth(cls)'
@@ -569,6 +570,7 @@ def test_autodoc_members(app):
569570 actual = do_autodoc (app , 'class' , 'target.inheritance.Base' , options )
570571 assert list (filter (lambda l : '::' in l , actual )) == [
571572 '.. py:class:: Base()' ,
573+ ' .. py:attribute:: Base.inheritedattr' ,
572574 ' .. py:method:: Base.inheritedclassmeth()' ,
573575 ' .. py:method:: Base.inheritedmeth()' ,
574576 ' .. py:method:: Base.inheritedstaticmeth(cls)'
@@ -601,6 +603,7 @@ def test_autodoc_exclude_members(app):
601603 actual = do_autodoc (app , 'class' , 'target.inheritance.Base' , options )
602604 assert list (filter (lambda l : '::' in l , actual )) == [
603605 '.. py:class:: Base()' ,
606+ ' .. py:attribute:: Base.inheritedattr' ,
604607 ' .. py:method:: Base.inheritedclassmeth()'
605608 ]
606609
@@ -618,6 +621,7 @@ def test_autodoc_exclude_members(app):
618621 actual = do_autodoc (app , 'class' , 'target.inheritance.Base' , options )
619622 assert list (filter (lambda l : '::' in l , actual )) == [
620623 '.. py:class:: Base()' ,
624+ ' .. py:attribute:: Base.inheritedattr' ,
621625 ' .. py:method:: Base.inheritedclassmeth()'
622626 ]
623627
@@ -628,6 +632,7 @@ def test_autodoc_exclude_members(app):
628632 actual = do_autodoc (app , 'class' , 'target.inheritance.Base' , options )
629633 assert list (filter (lambda l : '::' in l , actual )) == [
630634 '.. py:class:: Base()' ,
635+ ' .. py:attribute:: Base.inheritedattr' ,
631636 ' .. py:method:: Base.inheritedclassmeth()' ,
632637 ' .. py:method:: Base.inheritedstaticmeth(cls)'
633638 ]
@@ -639,6 +644,7 @@ def test_autodoc_exclude_members(app):
639644 actual = do_autodoc (app , 'class' , 'target.inheritance.Base' , options )
640645 assert list (filter (lambda l : '::' in l , actual )) == [
641646 '.. py:class:: Base()' ,
647+ ' .. py:attribute:: Base.inheritedattr' ,
642648 ' .. py:method:: Base.inheritedclassmeth()' ,
643649 ]
644650
@@ -648,6 +654,7 @@ def test_autodoc_exclude_members(app):
648654 actual = do_autodoc (app , 'class' , 'target.inheritance.Base' , options )
649655 assert list (filter (lambda l : '::' in l , actual )) == [
650656 '.. py:class:: Base()' ,
657+ ' .. py:attribute:: Base.inheritedattr' ,
651658 ' .. py:method:: Base.inheritedclassmeth()' ,
652659 ]
653660
@@ -658,6 +665,7 @@ def test_autodoc_exclude_members(app):
658665 actual = do_autodoc (app , 'class' , 'target.inheritance.Base' , options )
659666 assert list (filter (lambda l : '::' in l , actual )) == [
660667 '.. py:class:: Base()' ,
668+ ' .. py:attribute:: Base.inheritedattr' ,
661669 ' .. py:method:: Base.inheritedclassmeth()' ,
662670 ' .. py:method:: Base.inheritedmeth()' ,
663671 ' .. py:method:: Base.inheritedstaticmeth(cls)'
0 commit comments