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

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