[Zope-dev] zope-tests - FAILED: 1, OK: 13

Marius Gedminas marius at gedmin.as
Mon May 19 17:27:50 CEST 2014


On Sun, May 18, 2014 at 09:34:49PM +0300, Marius Gedminas wrote:
> On Sat, May 17, 2014 at 01:00:01AM +0200, Zope tests summarizer wrote:
> > [1]    winbot / zope.i18n_py_265_32
> 
> Something is seriously weird with timezones on winbot and/or pytz:
> 
> AssertionError: u'2. Januar 2003 21:48:01 +053' != '2. Januar 2003 21:48:01 +100'
> Failure in test testFormatRealDateTime (zope.i18n.tests.test_formats.TestDateTimeFormat)
> Traceback (most recent call last):
>   File "c:\Python26_32\lib\unittest.py", line 279, in run
>     testMethod()
>   File "c:\buildslave\zope.i18n\build\src\zope\i18n\tests\test_formats.py", line 385, in testFormatRealDateTime
>     '2. Januar 2003 21:48:01 +100')
>   File "c:\Python26_32\lib\unittest.py", line 350, in failUnlessEqual
>     (msg or '%r != %r' % (first, second))
> AssertionError: u'2. Januar 2003 21:48:01 +053' != '2. Januar 2003 21:48:01 +100'

Looks like the Olsen database picked up a few historical German
timezones, exposing a long-standing bug in zope.i18n's test suite.

Should be fixed with
https://github.com/zopefoundation/zope.i18n/commit/58051dcb365502a40f5a691af6a3b227638f350e

Marius Gedminas
-- 
http://pov.lt/ -- Zope 3/BlueBream consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 173 bytes
Desc: Digital signature
URL: <http://mail.zope.org/pipermail/zope-dev/attachments/20140519/0499eda6/attachment.sig>


More information about the Zope-Dev mailing list