mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Updated test_rollover delay to just over a second.
This commit is contained in:
parent
e36f37525b
commit
b7b1930fe3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue