[Zope-Coders] test failures in DateTime
Andreas Jung
andreas@andreas-jung.com
Thu, 27 Sep 2001 20:52:56 -0400
It seems nobody wants to own DateTime :-)
I tried to solve these problems some time ago but I could not find
the bug. FYI I wrote a fishboal proposal some time ago together with
Stephan Richter with the goal to replace Zope DateTime module with
mxDateTime.
Andreas
----- Original Message -----
From: "Jeremy Hylton" <jeremy@zope.com>
To: <zope-coders@zope.org>
Sent: Thursday, September 27, 2001 19:49
Subject: [Zope-Coders] test failures in DateTime
> Who owns the DateTime? I see two tests failing when I run the tests
> from the trunk. Please fix.
>
> Jeremy
>
> Running:
/usr/home/jeremy/src/Zope/lib/python/DateTime/tests/testDateTime.py
>
> .....F...........F
> ======================================================================
> FAIL: Constructor from year and julian date
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
"/usr/home/jeremy/src/Zope/lib/python/DateTime/tests/testDateTime.py", li
> ne 75, in testConstructor6
> _compare(dt, dt1)
> File
"/usr/home/jeremy/src/Zope/lib/python/DateTime/tests/testDateTime.py", li
> ne 14, in _compare
> assert dt1.millis() == dt2.millis(), \
> AssertionError: 315939600050 != 315936000050
>
> ======================================================================
> FAIL: Comparison of a Y10K date and a Y2K date
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
"/usr/home/jeremy/src/Zope/lib/python/DateTime/tests/testDateTime.py", li
> ne 152, in testY10KDate
> assert dt - dt1 == 3000000.0, (dt - dt1)
> AssertionError: 2999999.95833
>
>
>
>
> _______________________________________________
> Zope-Coders mailing list
> Zope-Coders@zope.org
> http://lists.zope.org/mailman/listinfo/zope-coders
>