summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2022-04-03 22:42:44 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2022-04-03 22:42:44 +0900
commitfd42063725eefc70a12f047e31d1be70e75a8abc (patch)
tree1affb2515311ea156967f2698c2acdbd42873311 /tests
parentf731bf1999d5e1bcddeb3f4c87148da045a00051 (diff)
downloadsphinx-git-fd42063725eefc70a12f047e31d1be70e75a8abc.tar.gz
autodoc_typehints_description_target: Rename returnvalue_and_documented_params to documented_params
Diffstat (limited to 'tests')
-rw-r--r--tests/test_ext_autodoc_configs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_ext_autodoc_configs.py b/tests/test_ext_autodoc_configs.py
index 12c269e7a..0ac3c7e53 100644
--- a/tests/test_ext_autodoc_configs.py
+++ b/tests/test_ext_autodoc_configs.py
@@ -894,7 +894,7 @@ def test_autodoc_typehints_description_no_undoc(app):
@pytest.mark.sphinx('text', testroot='ext-autodoc',
confoverrides={'autodoc_typehints': "description",
- 'autodoc_typehints_description_target': 'returnvalue_and_documented_params'})
+ 'autodoc_typehints_description_target': 'documented_params'})
def test_autodoc_typehints_description_no_undoc_doc_rtype(app):
# No :type: will be injected for `incr`, which does not have a description
# for its parameters or its return, just :rtype: will be injected due to
@@ -1010,7 +1010,7 @@ def test_autodoc_typehints_description_with_documented_init_no_undoc(app):
@pytest.mark.sphinx('text', testroot='ext-autodoc',
confoverrides={'autodoc_typehints': "description",
- 'autodoc_typehints_description_target': 'returnvalue_and_documented_params'})
+ 'autodoc_typehints_description_target': 'documented_params'})
def test_autodoc_typehints_description_with_documented_init_no_undoc_doc_rtype(app):
# see test_autodoc_typehints_description_with_documented_init_no_undoc
# returnvalue_and_documented_params should not change class or method