diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-02-22 19:22:31 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-02-22 19:22:31 +0900 |
commit | 754d04f80d89e6455c29cc45cf5fc5bf6eb07fc4 (patch) | |
tree | 0bfc5fc61372b12873c2c73240890e2c4e3bcf22 /tests/test_autodoc.py | |
parent | db20d923d19a8b29409b4f9eac97168bfb2421de (diff) | |
parent | 51ac09d7b42dc70825771d62b102be5becd0fc52 (diff) | |
download | sphinx-git-754d04f80d89e6455c29cc45cf5fc5bf6eb07fc4.tar.gz |
Merge branch '2.4.x' into 3.x
Diffstat (limited to 'tests/test_autodoc.py')
-rw-r--r-- | tests/test_autodoc.py | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/tests/test_autodoc.py b/tests/test_autodoc.py index e6b4cc5b6..d81df8245 100644 --- a/tests/test_autodoc.py +++ b/tests/test_autodoc.py @@ -1356,7 +1356,23 @@ def test_coroutine(): ' :async:', ' ', ' A documented coroutine function', - ' ' + ' ', + ' ', + ' .. py:method:: AsyncClass.do_coroutine2()', + ' :module: target.coroutine', + ' :async:', + ' :classmethod:', + ' ', + ' A documented coroutine classmethod', + ' ', + ' ', + ' .. py:method:: AsyncClass.do_coroutine3()', + ' :module: target.coroutine', + ' :async:', + ' :staticmethod:', + ' ', + ' A documented coroutine staticmethod', + ' ', ] |