summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_logging.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2013-04-14 11:25:25 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2013-04-14 11:25:25 (GMT)
commit8b4c7198dbc0f61a58822a5be92355a5206cd0b6 (patch)
treeaee97876999ec80e1fe1a7aed031c4112d184e58 /Lib/test/test_logging.py
parentd86ac96fcf91ac929198a52d565e00d19be2a6c0 (diff)
downloadcpython-8b4c7198dbc0f61a58822a5be92355a5206cd0b6.zip
cpython-8b4c7198dbc0f61a58822a5be92355a5206cd0b6.tar.gz
cpython-8b4c7198dbc0f61a58822a5be92355a5206cd0b6.tar.bz2
Issue #17713: additional tweak to 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 f96cdea..99476de 100644
--- a/Lib/test/test_logging.py
+++ b/Lib/test/test_logging.py
@@ -3993,7 +3993,7 @@ class TimedRotatingFileHandlerTest(BaseFileTest):
if day == wday:
# goes into following week
expected += 7 * 24 * 60 * 60
- actual = rh.computeRollover(currentTime + 13 * 60 * 60)
+ actual = rh.computeRollover(today + 13 * 60 * 60)
self.assertEqual(actual, expected)
finally:
rh.close()