Skip to content

Commit bb6155a

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5fefd7d commit bb6155a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/_pytest/logging.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -447,11 +447,11 @@ def clear(self) -> None:
447447
self.handler.reset()
448448

449449
def set_level(self, level: Union[int, str], logger: Optional[str] = None) -> None:
450-
"""Sets the threshold for this logger to level.
451-
452-
Logging messages which are less severe than level will be ignored; logging messages
453-
which have severity level or higher will be emitted by whichever handler or handlers
454-
service this logger, unless a handler’s level has been set to a higher severity level
450+
"""Sets the threshold for this logger to level.
451+
452+
Logging messages which are less severe than level will be ignored; logging messages
453+
which have severity level or higher will be emitted by whichever handler or handlers
454+
service this logger, unless a handler’s level has been set to a higher severity level
455455
than `level`.
456456
457457
.. versionchanged:: 3.4

0 commit comments

Comments
 (0)