commit | 0715b9fad375751d93de90f23bab20faba1b1b62 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sat Sep 14 19:45:47 2013 +0200 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sat Sep 14 19:45:47 2013 +0200 |
tree | ca77149d5d6549d441ecdcabd3b69c52ced7b4b1 | |
parent | 692ee9eaf0ae910a0a024f0122c4e51df6c04711 [diff] |
Issue #18937: Add an assertLogs() context manager to unittest.TestCase to ensure that a block of code emits a message using the logging module.