summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_logging.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_logging.py')
-rw-r--r--Lib/test/test_logging.py2
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