diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2011-05-13 15:41:57 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2011-05-13 15:41:57 (GMT) |
commit | 252048c8a1c7f3e205338b401459e384d760873a (patch) | |
tree | ee80169dbbd157d55988387ea4465c74fb62ed8f /Lib/test/test_logging.py | |
parent | a171f9c6a3c8cdf8ab25b0e0b1e4359d97b7fb85 (diff) | |
download | cpython-252048c8a1c7f3e205338b401459e384d760873a.zip cpython-252048c8a1c7f3e205338b401459e384d760873a.tar.gz cpython-252048c8a1c7f3e205338b401459e384d760873a.tar.bz2 |
test_logging: extended time range for rollover test.
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 f215834..c6a64f3 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -3515,7 +3515,7 @@ class TimedRotatingFileHandlerTest(BaseFileTest): # could of course still fail, but the chances are lower. found = False now = datetime.datetime.now() - GO_BACK = 2 * 60 # seconds + GO_BACK = 5 * 60 # seconds for secs in range(GO_BACK): prev = now - datetime.timedelta(seconds=secs) fn = self.fn + prev.strftime(".%Y-%m-%d_%H-%M-%S") |