mirror of
https://github.com/python/cpython.git
synced 2025-10-21 22:22:48 +00:00
Issue #17713: additional tweak to test.
This commit is contained in:
parent
d86ac96fcf
commit
8b4c7198db
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue