diff options
author | Miss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-10-04 15:38:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-04 15:38:03 (GMT) |
commit | faa8c6a8f1fe9c3bac31061e8a59a686b983ebb8 (patch) | |
tree | 8a47b44a60fe9d2adbf3812b6a6f6c2547149074 | |
parent | 5f9a08d95f5c37dad901d5321e0b35928328d8d8 (diff) | |
download | cpython-faa8c6a8f1fe9c3bac31061e8a59a686b983ebb8.zip cpython-faa8c6a8f1fe9c3bac31061e8a59a686b983ebb8.tar.gz cpython-faa8c6a8f1fe9c3bac31061e8a59a686b983ebb8.tar.bz2 |
bpo-41898: add caveat on root logger seeing all messages in assertLogs doc (GH-22526) (GH-22540)
(cherry picked from commit 1ed54435268b285964141fb74d47ceaa33ea79ab)
-rw-r--r-- | Doc/library/unittest.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 285bb9e..8a4fd25 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -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 |