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 2e8ff0414..a86211f18 100644
--- a/tests/test_autodoc.py
+++ b/tests/test_autodoc.py
@@ -1319,7 +1319,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',
+ ' ',
]