summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_logging.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2013-05-11 23:04:58 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2013-05-11 23:04:58 (GMT)
commitcaf9eb8adacfe67ab310172d499ffaf2e3f4145c (patch)
tree3d61ed17fa796b8e126ad4e89ddf1caff15b0185 /Lib/test/test_logging.py
parentfc6f4cd39804ef5b54d461ec0023c44ed3a0e0ed (diff)
downloadcpython-caf9eb8adacfe67ab310172d499ffaf2e3f4145c.zip
cpython-caf9eb8adacfe67ab310172d499ffaf2e3f4145c.tar.gz
cpython-caf9eb8adacfe67ab310172d499ffaf2e3f4145c.tar.bz2
Re-enabled test with more diagnostics.
Diffstat (limited to 'Lib/test/test_logging.py')
-rw-r--r--Lib/test/test_logging.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py
index c9ddc3e..7c22d9d 100644
--- a/Lib/test/test_logging.py
+++ b/Lib/test/test_logging.py
@@ -3964,7 +3964,7 @@ class TimedRotatingFileHandlerTest(BaseFileTest):
finally:
rh.close()
- @unittest.skipIf(True, 'Temporarily skipped while failures investigated.')
+ #@unittest.skipIf(True, 'Temporarily skipped while failures investigated.')
def test_compute_rollover_weekly_attime(self):
currentTime = int(time.time())
today = currentTime - currentTime % 86400
@@ -3992,6 +3992,7 @@ class TimedRotatingFileHandlerTest(BaseFileTest):
actual = rh.computeRollover(today)
if actual != expected:
print('failed in timezone: %d' % time.timezone)
+ print('local vars: %s' % locals())
self.assertEqual(actual, expected)
if day == wday:
# goes into following week
@@ -3999,6 +4000,7 @@ class TimedRotatingFileHandlerTest(BaseFileTest):
actual = rh.computeRollover(today + 13 * 60 * 60)
if actual != expected:
print('failed in timezone: %d' % time.timezone)
+ print('local vars: %s' % locals())
self.assertEqual(actual, expected)
finally:
rh.close()