summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_logging.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2011-05-13 15:41:57 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2011-05-13 15:41:57 (GMT)
commit252048c8a1c7f3e205338b401459e384d760873a (patch)
treeee80169dbbd157d55988387ea4465c74fb62ed8f /Lib/test/test_logging.py
parenta171f9c6a3c8cdf8ab25b0e0b1e4359d97b7fb85 (diff)
downloadcpython-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.py2
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")