[Python-checkins] cpython: Issue #17713: additional tweak to test.
vinay.sajip
python-checkins at python.org
Sun Apr 14 13:25:40 CEST 2013
http://hg.python.org/cpython/rev/efda51b85b31
changeset: 83365:efda51b85b31
user: Vinay Sajip <vinay_sajip at yahoo.co.uk>
date: Sun Apr 14 12:25:25 2013 +0100
summary:
Issue #17713: additional tweak to test.
files:
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
--- a/Lib/test/test_logging.py
+++ b/Lib/test/test_logging.py
@@ -3993,7 +3993,7 @@
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()
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list