From b4e8861aa583e9fc365e5bb4769e3a6e5c94f78a Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Tue, 23 Jan 2018 19:02:32 -0200 Subject: [PATCH] Fix typos --- _pytest/logging.py | 2 +- doc/en/logging.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_pytest/logging.py b/_pytest/logging.py index 44db8ea90..308c203ea 100644 --- a/_pytest/logging.py +++ b/_pytest/logging.py @@ -355,7 +355,7 @@ class LoggingPlugin(object): yield # run all the tests def _setup_cli_logging(self): - """Setups the handler and logger for the Live Logs feature, if enabled. + """Sets up the handler and logger for the Live Logs feature, if enabled. This must be done right before starting the loop so we can access the terminal reporter plugin. """ diff --git a/doc/en/logging.rst b/doc/en/logging.rst index 98b80453a..ff819bf50 100644 --- a/doc/en/logging.rst +++ b/doc/en/logging.rst @@ -6,7 +6,7 @@ Logging .. versionadded:: 3.3 .. versionchanged:: 3.4 -Pytest captures log messages of level ``WARNING`` or above automatically and displays them in their own section +pytest captures log messages of level ``WARNING`` or above automatically and displays them in their own section for each failed test in the same manner as captured stdout and stderr. Running without options::