[Python-Dev] r88589 - python/branches/py3k/Lib/test/test_logging.py

Brett Cannon brett at python.org
Sat Feb 26 20:45:36 CET 2011


And if it gets disabled again it should be a skipped test instead of a
commented-out test to better keep track that it's turned off.

On Fri, Feb 25, 2011 at 14:24, Antoine Pitrou <solipsis at pitrou.net> wrote:

> On Fri, 25 Feb 2011 18:02:43 +0100 (CET)
> vinay.sajip <python-checkins at python.org> wrote:
> > Author: vinay.sajip
> > Date: Fri Feb 25 18:02:43 2011
> > New Revision: 88589
> >
> > Log:
> > logging: enabled test which was intermittently failing on buildbots.
>
>
> Looks like it fails again:
>
> (
> http://www.python.org/dev/buildbot/all/builders/x86%20Windows7%203.x/builds/2671/steps/test/logs/stdio)
>
> ======================================================================
> ERROR: test_compute_rollover_MIDNIGHT
> (test.test_logging.TimedRotatingFileHandlerTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File
> "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_logging.py",
> line 1990, in tearDown
>    os.unlink(self.fn)
> WindowsError: [Error 32] The process cannot access the file because it is
> being used by another process:
> 'c:\\users\\db3l\\appdata\\local\\temp\\test_logging-2-vhc3k5.log'
>
> ======================================================================
> FAIL: test_compute_rollover_MIDNIGHT
> (test.test_logging.TimedRotatingFileHandlerTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File
> "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_logging.py",
> line 2053, in test_compute_rollover
>    self.assertEqual(exp, rh.computeRollover(0.0))
> AssertionError: 82800 != 18000.0
>
> ======================================================================
> FAIL: test_compute_rollover_S
> (test.test_logging.TimedRotatingFileHandlerTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File
> "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_logging.py",
> line 1981, in setUp
>    BaseTest.setUp(self)
>  File
> "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_logging.py",
> line 95, in setUp
>    raise AssertionError('Unexpected handlers: %s' % hlist)
> AssertionError: Unexpected handlers: [<logging.StreamHandler object at
> 0x0DAFC5B0>]
>
> ======================================================================
> FAIL: test_compute_rollover_W0
> (test.test_logging.TimedRotatingFileHandlerTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File
> "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_logging.py",
> line 1981, in setUp
>    BaseTest.setUp(self)
>  File
> "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_logging.py",
> line 95, in setUp
>    raise AssertionError('Unexpected handlers: %s' % hlist)
> AssertionError: Unexpected handlers: [<logging.StreamHandler object at
> 0x0DAFC5B0>]
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/brett%40python.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20110226/ca1e3694/attachment.html>


More information about the Python-Dev mailing list