diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-09-14 17:45:47 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-09-14 17:45:47 (GMT) |
commit | 0715b9fad375751d93de90f23bab20faba1b1b62 (patch) | |
tree | ca77149d5d6549d441ecdcabd3b69c52ced7b4b1 /Misc | |
parent | 692ee9eaf0ae910a0a024f0122c4e51df6c04711 (diff) | |
download | cpython-0715b9fad375751d93de90f23bab20faba1b1b62.zip cpython-0715b9fad375751d93de90f23bab20faba1b1b62.tar.gz cpython-0715b9fad375751d93de90f23bab20faba1b1b62.tar.bz2 |
Issue #18937: Add an assertLogs() context manager to unittest.TestCase to ensure that a block of code emits a message using the logging module.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -12,6 +12,8 @@ Core and Builtins Library ------- +- Issue #18937: Add an assertLogs() context manager to unittest.TestCase + to ensure that a block of code emits a message using the logging module. - Issue #17324: Fix http.server's request handling case on trailing '/'. Patch contributed by Vajrasky Kok. |