summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-09-14 17:45:47 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2013-09-14 17:45:47 (GMT)
commit0715b9fad375751d93de90f23bab20faba1b1b62 (patch)
treeca77149d5d6549d441ecdcabd3b69c52ced7b4b1 /Misc
parent692ee9eaf0ae910a0a024f0122c4e51df6c04711 (diff)
downloadcpython-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/NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 33658a7..face3a9 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.