summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIrit Katriel <iritkatriel@yahoo.com>2020-10-04 13:16:04 (GMT)
committerGitHub <noreply@github.com>2020-10-04 13:16:04 (GMT)
commit1ed54435268b285964141fb74d47ceaa33ea79ab (patch)
tree2a05fca6a28beeb57d38c2942f4ff9337bed5da2
parente799aa8b92c195735f379940acd9925961ad04ec (diff)
downloadcpython-1ed54435268b285964141fb74d47ceaa33ea79ab.zip
cpython-1ed54435268b285964141fb74d47ceaa33ea79ab.tar.gz
cpython-1ed54435268b285964141fb74d47ceaa33ea79ab.tar.bz2
bpo-41898: add caveat on root logger seeing all messages in assertLogs doc (GH-22526)
-rw-r--r--Doc/library/unittest.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index a52df9e..f04ec91 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -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