[Zope-Coders] test failures in DateTime

Jeremy Hylton jeremy@zope.com
Thu, 27 Sep 2001 19:49:01 -0400 (EDT)


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