summaryrefslogtreecommitdiff
path: root/tests/test_autodoc.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-03-31 21:14:08 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2020-03-31 21:14:08 +0900
commit360efdefecfe7979dffe56905937592829eafa95 (patch)
treee3497b959d21842070fdfd5e0d07a9ca77823f7c /tests/test_autodoc.py
parentac2987a7d3434b8503cbe262c68dcb751b36fcfc (diff)
downloadsphinx-git-360efdefecfe7979dffe56905937592829eafa95.tar.gz
Fix #7355: autodoc: a signature of cython-function is not recognized well
Diffstat (limited to 'tests/test_autodoc.py')
-rw-r--r--tests/test_autodoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_autodoc.py b/tests/test_autodoc.py
index 741c4bb60..fc56a7f72 100644
--- a/tests/test_autodoc.py
+++ b/tests/test_autodoc.py
@@ -1641,7 +1641,7 @@ def test_cython():
' Docstring.',
'',
'',
- '.. py:function:: foo(*args, **kwargs)',
+ '.. py:function:: foo(x: int, *args, y: str, **kwargs)',
' :module: target.cython',
'',
' Docstring.',