test: Add testcase for autodoc_inherit_docstring and attributes (refs: #10539)

This commit is contained in:
Takeshi KOMIYA
2022-06-14 02:49:07 +09:00
parent 3956cf2249
commit 29edce9243
4 changed files with 84 additions and 0 deletions
+7
View File
@@ -133,6 +133,13 @@ def test_automodule_inherited_members(app):
' :module: target.inheritance',
'',
'',
' .. py:attribute:: Base.inheritedattr',
' :module: target.inheritance',
' :value: None',
'',
' docstring',
'',
'',
' .. py:method:: Base.inheritedclassmeth()',
' :module: target.inheritance',
' :classmethod:',