From e20f88c143ecedd18cf502896282f3bd3fb4bd78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 16 May 2018 10:01:48 +0200 Subject: [PATCH] Use "Returns" consistently to avoid being treated as section (#14448) Otherwise, by side effect, results in error D413 by recent pydocstyle. --- tests/components/test_shell_command.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/components/test_shell_command.py b/tests/components/test_shell_command.py index 6f993732c38..c7cef78a127 100644 --- a/tests/components/test_shell_command.py +++ b/tests/components/test_shell_command.py @@ -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"