[Zope3-dev] RC 3 for Zope 3.1 needed

Fred Drake fdrake at gmail.com
Tue Sep 6 22:27:31 EDT 2005


On 9/6/05, Stuart Bishop <stuart at stuartbishop.net> wrote:
> Is this something I need to be aware of? Because I'm not ;)

This test in the Zope 3 trunk is failing:

    def testParseTimeZoneNames(self):
        dt = self.format.parse('01.01.2003 09:48 EST', 'dd.MM.yyyy HH:mm zzz')
        self.assertEqual(dt.tzinfo.utcoffset(dt), datetime.timedelta(hours=-6))
        self.assertEqual(dt.tzinfo.zone, 'EST')
        # I think this is wrong due to a bug in pytz
        self.assertEqual(dt.tzinfo.tzname(dt), 'CST')

        dt = self.format.parse('01.01.2003 09:48 US/Eastern',
                               'dd.MM.yyyy HH:mm zzzz')
        self.assertEqual(dt.tzinfo.utcoffset(dt), datetime.timedelta(hours=-5))
        self.assertEqual(dt.tzinfo.zone, 'US/Eastern')
        # I think this is wrong due to a bug in pytz
        self.assertEqual(dt.tzinfo.tzname(dt), 'EST')

This is from src/zope/i18n/tests/test_formats.py, line 304.  This
failed both before and after your latest update (sometime in the last
few hours).


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>
Zope Corporation


More information about the Zope3-dev mailing list