Use "Returns" consistently to avoid being treated as section (#14448)
Otherwise, by side effect, results in error D413 by recent pydocstyle.pull/14497/head
parent
1533a68c06
commit
e20f88c143
|
@ -19,8 +19,7 @@ def mock_process_creator(error: bool = False) -> asyncio.coroutine:
|
|||
def communicate() -> Tuple[bytes, bytes]:
|
||||
"""Mock a coroutine that runs a process when yielded.
|
||||
|
||||
Returns:
|
||||
a tuple of (stdout, stderr).
|
||||
Returns a tuple of (stdout, stderr).
|
||||
"""
|
||||
return b"I am stdout", b"I am stderr"
|
||||
|
||||
|
|
Loading…
Reference in New Issue