From b7b1930fe374317c380e49add9fb4cc2267367e9 Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Tue, 24 May 2011 07:12:41 +0100 Subject: [PATCH] Updated test_rollover delay to just over a second. --- Lib/test/test_logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index e4fc2664426..b27ff6a4dd4 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -3586,7 +3586,7 @@ class TimedRotatingFileHandlerTest(BaseFileTest): r = logging.makeLogRecord({'msg': 'testing'}) fh.emit(r) self.assertLogFile(self.fn) - time.sleep(1.0) + time.sleep(1.01) # just a little over a second ... fh.emit(r) fh.close() # At this point, we should have a recent rotated file which we