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.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.',