@@ -549,6 +549,7 @@ def test_autodoc_members(app):
549
549
actual = do_autodoc (app , 'class' , 'target.inheritance.Base' , options )
550
550
assert list (filter (lambda l : '::' in l , actual )) == [
551
551
'.. py:class:: Base()' ,
552
+ ' .. py:attribute:: Base.inheritedattr' ,
552
553
' .. py:method:: Base.inheritedclassmeth()' ,
553
554
' .. py:method:: Base.inheritedmeth()' ,
554
555
' .. py:method:: Base.inheritedstaticmeth(cls)'
@@ -569,6 +570,7 @@ def test_autodoc_members(app):
569
570
actual = do_autodoc (app , 'class' , 'target.inheritance.Base' , options )
570
571
assert list (filter (lambda l : '::' in l , actual )) == [
571
572
'.. py:class:: Base()' ,
573
+ ' .. py:attribute:: Base.inheritedattr' ,
572
574
' .. py:method:: Base.inheritedclassmeth()' ,
573
575
' .. py:method:: Base.inheritedmeth()' ,
574
576
' .. py:method:: Base.inheritedstaticmeth(cls)'
@@ -601,6 +603,7 @@ def test_autodoc_exclude_members(app):
601
603
actual = do_autodoc (app , 'class' , 'target.inheritance.Base' , options )
602
604
assert list (filter (lambda l : '::' in l , actual )) == [
603
605
'.. py:class:: Base()' ,
606
+ ' .. py:attribute:: Base.inheritedattr' ,
604
607
' .. py:method:: Base.inheritedclassmeth()'
605
608
]
606
609
@@ -618,6 +621,7 @@ def test_autodoc_exclude_members(app):
618
621
actual = do_autodoc (app , 'class' , 'target.inheritance.Base' , options )
619
622
assert list (filter (lambda l : '::' in l , actual )) == [
620
623
'.. py:class:: Base()' ,
624
+ ' .. py:attribute:: Base.inheritedattr' ,
621
625
' .. py:method:: Base.inheritedclassmeth()'
622
626
]
623
627
@@ -628,6 +632,7 @@ def test_autodoc_exclude_members(app):
628
632
actual = do_autodoc (app , 'class' , 'target.inheritance.Base' , options )
629
633
assert list (filter (lambda l : '::' in l , actual )) == [
630
634
'.. py:class:: Base()' ,
635
+ ' .. py:attribute:: Base.inheritedattr' ,
631
636
' .. py:method:: Base.inheritedclassmeth()' ,
632
637
' .. py:method:: Base.inheritedstaticmeth(cls)'
633
638
]
@@ -639,6 +644,7 @@ def test_autodoc_exclude_members(app):
639
644
actual = do_autodoc (app , 'class' , 'target.inheritance.Base' , options )
640
645
assert list (filter (lambda l : '::' in l , actual )) == [
641
646
'.. py:class:: Base()' ,
647
+ ' .. py:attribute:: Base.inheritedattr' ,
642
648
' .. py:method:: Base.inheritedclassmeth()' ,
643
649
]
644
650
@@ -648,6 +654,7 @@ def test_autodoc_exclude_members(app):
648
654
actual = do_autodoc (app , 'class' , 'target.inheritance.Base' , options )
649
655
assert list (filter (lambda l : '::' in l , actual )) == [
650
656
'.. py:class:: Base()' ,
657
+ ' .. py:attribute:: Base.inheritedattr' ,
651
658
' .. py:method:: Base.inheritedclassmeth()' ,
652
659
]
653
660
@@ -658,6 +665,7 @@ def test_autodoc_exclude_members(app):
658
665
actual = do_autodoc (app , 'class' , 'target.inheritance.Base' , options )
659
666
assert list (filter (lambda l : '::' in l , actual )) == [
660
667
'.. py:class:: Base()' ,
668
+ ' .. py:attribute:: Base.inheritedattr' ,
661
669
' .. py:method:: Base.inheritedclassmeth()' ,
662
670
' .. py:method:: Base.inheritedmeth()' ,
663
671
' .. py:method:: Base.inheritedstaticmeth(cls)'
0 commit comments