summaryrefslogtreecommitdiff
path: root/tests/test_autodoc.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_autodoc.py')
-rw-r--r--tests/test_autodoc.py18
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',
+ ' ',
]