[Zope3-dev] test.py throwing assert error on microseconds
Tim Peters
tim@zope.com
Sun, 26 Jan 2003 18:58:40 -0500
[Samir Patel]
> python test.py -v produces following error.
> python 2.2.2 GCC 3.2.1 Distribution gentoo
>
> *******************************************
> Running tests from /mnt/multimedia/data/icm/Zope3-3.0a1
> ...
> "/mnt/multimedia/data/icm/Zope3-3.0a1/src/zope/security/checker.py",
> line 10, in ?
> import datetime
> File
> "/mnt/multimedia/data/icm/Zope3-3.0a1/src/datetime/__init__.py", line
> 8, in ?
> from datetime._datetime import MINYEAR, MAXYEAR
> File
> "/mnt/multimedia/data/icm/Zope3-3.0a1/src/datetime/_datetime.py", line
> 616, in ?
> microseconds=999999)
> File
> "/mnt/multimedia/data/icm/Zope3-3.0a1/src/datetime/_datetime.py", line
> 489, in __init__
> assert int(microseconds) == microseconds
> AssertionError
Nobody else has reported this, and I don't see it in current CVS. Can you
try current CVS? It may be a platform-specific bug, and it may have been
fixed by accident by now.