]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-41898: add caveat on root logger seeing all messages in assertLogs doc (GH-22526...
authorMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 4 Oct 2020 13:27:14 +0000 (06:27 -0700)
committerGitHub <noreply@github.com>
Sun, 4 Oct 2020 13:27:14 +0000 (14:27 +0100)
(cherry picked from commit 1ed54435268b285964141fb74d47ceaa33ea79ab)

Doc/library/unittest.rst

index 67c5fa611737417e65f1fdd2e60114da79c48569..7626a402f375f2012498f0465d9bbbe2d9cee5ee 100644 (file)
@@ -1088,7 +1088,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