]> granicus.if.org Git - python/commitdiff
Issue #17713: additional tweak to test.
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Sun, 14 Apr 2013 11:25:25 +0000 (12:25 +0100)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Sun, 14 Apr 2013 11:25:25 +0000 (12:25 +0100)
Lib/test/test_logging.py

index f96cdea73245d3c1f6c86ef1ed115fc4e10dd748..99476de4278e052d3c6ce8cc86d7ad4ee913d30d 100644 (file)
@@ -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()