diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2011-05-24 06:12:41 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2011-05-24 06:12:41 (GMT) |
commit | b7b1930fe374317c380e49add9fb4cc2267367e9 (patch) | |
tree | c70578b793402e390c8dc9f5a2199157415b6e80 /Lib/test/test_logging.py | |
parent | e36f37525ba57546511376d79ddb0f3e983b8f56 (diff) | |
download | cpython-b7b1930fe374317c380e49add9fb4cc2267367e9.zip cpython-b7b1930fe374317c380e49add9fb4cc2267367e9.tar.gz cpython-b7b1930fe374317c380e49add9fb4cc2267367e9.tar.bz2 |
Updated test_rollover delay to just over a second.
Diffstat (limited to 'Lib/test/test_logging.py')
-rw-r--r-- | Lib/test/test_logging.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index e4fc266..b27ff6a 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 |