[Python-checkins] cpython: Re-enabled skipped test.
vinay.sajip
python-checkins at python.org
Sat May 18 19:20:20 CEST 2013
http://hg.python.org/cpython/rev/23836f17e4a2
changeset: 83832:23836f17e4a2
user: Vinay Sajip <vinay_sajip at yahoo.co.uk>
date: Sat May 18 10:19:54 2013 -0700
summary:
Re-enabled skipped test.
files:
Lib/test/test_logging.py | 4 ++--
1 files changed, 2 insertions(+), 2 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
@@ -3964,14 +3964,14 @@
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
atTime = datetime.time(12, 0, 0)
- wday = datetime.datetime.fromtimestamp(currentTime + time.timezone).weekday()
+ wday = time.gmtime(today).tm_wday
for day in range(7):
rh = logging.handlers.TimedRotatingFileHandler(
self.fn, when='W%d' % day, interval=1, backupCount=0, utc=True,
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list