[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2021-10-01 16:07:38 +00:00
parent 5fefd7de96
commit bb6155adfa
1 changed files with 5 additions and 5 deletions

View File

@ -447,11 +447,11 @@ class LogCaptureFixture:
self.handler.reset()
def set_level(self, level: Union[int, str], logger: Optional[str] = None) -> None:
"""Sets the threshold for this logger to level.
Logging messages which are less severe than level will be ignored; logging messages
which have severity level or higher will be emitted by whichever handler or handlers
service this logger, unless a handlers level has been set to a higher severity level
"""Sets the threshold for this logger to level.
Logging messages which are less severe than level will be ignored; logging messages
which have severity level or higher will be emitted by whichever handler or handlers
service this logger, unless a handlers level has been set to a higher severity level
than `level`.
.. versionchanged:: 3.4