From: Vinay Sajip Date: Tue, 24 May 2011 06:12:41 +0000 (+0100) Subject: Updated test_rollover delay to just over a second. X-Git-Tag: v3.3.0a1~2183^2~134 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b7b1930fe374317c380e49add9fb4cc2267367e9;p=python Updated test_rollover delay to just over a second. --- diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index e4fc266442..b27ff6a4dd 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