bpo-41898: add caveat on root logger seeing all messages in assertLogs doc (GH-22526)

This commit is contained in:
Irit Katriel 2020-10-04 14:16:04 +01:00 committed by GitHub
parent e799aa8b92
commit 1ed5443526
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1091,7 +1091,8 @@ Test cases
If given, *logger* should be a :class:`logging.Logger` object or a
:class:`str` giving the name of a logger. The default is the root
logger, which will catch all messages.
logger, which will catch all messages that were not blocked by a
non-propagating descendent logger.
If given, *level* should be either a numeric logging level or
its string equivalent (for example either ``"ERROR"`` or