[New-bugs-announce] [issue17713] test_logging fails in test_compute_rollover_weekly_attime

Ned Batchelder report at bugs.python.org
Sat Apr 13 15:49:57 CEST 2013


New submission from Ned Batchelder:

I just pulled down the tip of CPython, built it, and ran the tests, and got this failure:

```
======================================================================
FAIL: test_compute_rollover_weekly_attime (test.test_logging.TimedRotatingFileHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ned/python/cpython/Lib/test/test_logging.py", line 3972, in test_compute_rollover_weekly_attime
    wday = datetime.datetime.fromtimestamp(currentTime).weekday()
AssertionError: 388800 != 475200

----------------------------------------------------------------------
Ran 149 tests in 17.142s

FAILED (failures=1, skipped=1)
test test_logging failed
1 test failed:
    test_logging
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/test_logging-2-gimdv3.log' mode='a' encoding='UTF-8'>
```

Others preparing for today's sprint in Boston also had the same problem.  Something to do with timezones?

----------
messages: 186717
nosy: nedbat
priority: normal
severity: normal
status: open
title: test_logging fails in test_compute_rollover_weekly_attime

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17713>
_______________________________________


More information about the New-bugs-announce mailing list