Juancarlo Añez <apal...@gmail.com> added the comment:

I did extensive testing on time.timezone, and it is correct as far as the 
current date is concerned. The problem, as mentioned before, is that 
test_logging is using time.timezone for dates in the past for which the time 
zone may have been different from the current one on the current location.

The attached patch shows that time calculations involving time.timezone may not 
be valid for dates different from the current one, as not even 
daylight-savings/summer times are taken into account, so the test may also fail 
depending on the time of the year it is run on.

----------
Added file: http://bugs.python.org/file26246/test_timezones.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14902>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to