diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-04-20 01:29:01 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-04-20 01:29:01 +0900 |
commit | a42de07bcfbd92e69a13077fb6241491873fdfab (patch) | |
tree | 6e0d78540b5e39dcb6dbfbfb459f856b112fb030 /tests/test_autodoc.py | |
parent | 12cb90c3fa5451e2c99100d8ce1d4d0a8bb7f527 (diff) | |
download | sphinx-git-a42de07bcfbd92e69a13077fb6241491873fdfab.tar.gz |
Close #2044: autodoc: Suppress default value for instance attributes
Diffstat (limited to 'tests/test_autodoc.py')
-rw-r--r-- | tests/test_autodoc.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/test_autodoc.py b/tests/test_autodoc.py index dd474536d..6a65082aa 100644 --- a/tests/test_autodoc.py +++ b/tests/test_autodoc.py @@ -1032,14 +1032,12 @@ def test_instance_attributes(app): '', ' .. py:attribute:: InstAttCls.ia1', ' :module: target', - ' :value: None', '', ' Doc comment for instance attribute InstAttCls.ia1', '', '', ' .. py:attribute:: InstAttCls.ia2', ' :module: target', - ' :value: None', '', ' Docstring for instance attribute InstAttCls.ia2.', '' @@ -1066,7 +1064,6 @@ def test_instance_attributes(app): '', ' .. py:attribute:: InstAttCls.ia1', ' :module: target', - ' :value: None', '', ' Doc comment for instance attribute InstAttCls.ia1', '' @@ -1485,7 +1482,6 @@ def test_autodoc_typed_instance_variables(app): ' .. py:attribute:: Class.attr2', ' :module: target.typed_vars', ' :type: int', - ' :value: None', '', '', ' .. py:attribute:: Class.attr3', @@ -1497,7 +1493,6 @@ def test_autodoc_typed_instance_variables(app): ' .. py:attribute:: Class.attr4', ' :module: target.typed_vars', ' :type: int', - ' :value: None', '', ' attr4', '', @@ -1505,7 +1500,6 @@ def test_autodoc_typed_instance_variables(app): ' .. py:attribute:: Class.attr5', ' :module: target.typed_vars', ' :type: int', - ' :value: None', '', ' attr5', '', @@ -1513,7 +1507,6 @@ def test_autodoc_typed_instance_variables(app): ' .. py:attribute:: Class.attr6', ' :module: target.typed_vars', ' :type: int', - ' :value: None', '', ' attr6', '', |