From 29edce9243046962f5f024d510315133448dd3e1 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Tue, 14 Jun 2022 02:49:07 +0900 Subject: test: Add testcase for autodoc_inherit_docstring and attributes (refs: #10539) --- tests/test_ext_autodoc_automodule.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/test_ext_autodoc_automodule.py') diff --git a/tests/test_ext_autodoc_automodule.py b/tests/test_ext_autodoc_automodule.py index 8208d86f6..71b23679d 100644 --- a/tests/test_ext_autodoc_automodule.py +++ b/tests/test_ext_autodoc_automodule.py @@ -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:', -- cgit v1.2.1