add a test for combined args and kwargs

This commit is contained in:
Keewis 2020-06-08 13:52:46 +02:00
parent 4d36cccd74
commit 15b443c074

View File

@ -1189,6 +1189,23 @@ class NumpyDocstringTest(BaseDocstringTest):
""" """
Single line summary Single line summary
Parameters
----------
arg1:str
Extended description of arg1
*args, **kwargs:
Variable length argument list and arbitrary keyword arguments.
""",
"""
Single line summary
:Parameters: * **arg1** (*str*) -- Extended description of arg1
* **\\*args, \\*\\*kwargs** -- Variable length argument list and arbitrary keyword arguments.
"""
), (
"""
Single line summary
Yield Yield
----- -----
str str