Issue #17713: additional tweak to test.

This commit is contained in:
Vinay Sajip 2013-04-14 12:25:25 +01:00
parent d86ac96fcf
commit 8b4c7198db

View file

@ -3993,7 +3993,7 @@ class TimedRotatingFileHandlerTest(BaseFileTest):
if day == wday: if day == wday:
# goes into following week # goes into following week
expected += 7 * 24 * 60 * 60 expected += 7 * 24 * 60 * 60
actual = rh.computeRollover(currentTime + 13 * 60 * 60) actual = rh.computeRollover(today + 13 * 60 * 60)
self.assertEqual(actual, expected) self.assertEqual(actual, expected)
finally: finally:
rh.close() rh.close()