Use "Returns" consistently to avoid being treated as section (#14448)

Otherwise, by side effect, results in error D413 by recent pydocstyle.
pull/14497/head
Ville Skyttä 2018-05-16 10:01:48 +02:00 committed by Fabian Affolter
parent 1533a68c06
commit e20f88c143
1 changed files with 1 additions and 2 deletions

View File

@ -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"