Re: zope-tests - FAILED: 1, OK: 13

Marius Gedminas <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <20140519152750.GA10348@platonas>
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

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
signature.asc (application/pgp-signature, 173 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iD8DBQFTeiL2kVdEXeem148RAtcTAKCMZHCI0Lf+R2MVO0Ll3WndvNGijACdGNuA
hG+Tknn2xbBy+9YzbyW6Fg0=
=PCHG
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.