commit | 682c979871b42cd21856735c5900f9bee832bfb1 | [log] [tgz] |
---|---|---|
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | Mon Mar 05 09:44:25 2012 +0000 |
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | Mon Mar 05 09:44:25 2012 +0000 |
tree | 5fd5ef10b7014ead35d01cec73db0e26a37cb30a | |
parent | b6f6670d87f922564d535062dda42eb6d54d36af [diff] | |
parent | 75b5e7ee155ea9a04cd392f4aed8b23822783cb1 [diff] |
Merged upstream changes.
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 92e6994..b490b6e 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py
@@ -3651,6 +3651,8 @@ def test_rollover(self): fh = logging.handlers.TimedRotatingFileHandler(self.fn, 'S', backupCount=1) + fmt = logging.Formatter('%(asctime)s %(message)s') + fh.setFormatter(fmt) r = logging.makeLogRecord({'msg': 'testing'}) fh.emit(r) self.assertLogFile(self.fn)