[Zope-dev] Zope Tests: 72 OK, 15 Failed

Tres Seaver tseaver at palladion.com
Thu Feb 17 10:58:35 EST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/17/2011 06:58 AM, Zope Tests Summarizer wrote:

> Subject: FAILED : Zope Buildbot / zopetoolkit-1.1_win-py2.5 slave-win
> From: jdriessen at thehealthagency.com
> Date: Wed Feb 16 15:03:12 EST 2011
> URL: http://mail.zope.org/pipermail/zope-tests/2011-February/032218.html
> 
> Subject: FAILED : Zope Buildbot / zopetoolkit_win-py2.5 slave-win
> From: jdriessen at thehealthagency.com
> Date: Wed Feb 16 15:18:08 EST 2011
> URL: http://mail.zope.org/pipermail/zope-tests/2011-February/032223.html
> 
> Subject: FAILED : Zope Buildbot / zopetoolkit_win-py2.6 slave-win
> From: jdriessen at thehealthagency.com
> Date: Wed Feb 16 15:25:31 EST 2011
> URL: http://mail.zope.org/pipermail/zope-tests/2011-February/032226.html

These three failures are due to a quirk in how datetime.datetime repr
works:  if the 'microseconds' field happens to be zero, it isn't
printed, e.g.:

Expected:
    datetime.datetime(<DATETIME>, tzinfo=<UTC>)
Got:
    datetime.datetime(2011, 2, 16, 20, 0, 43, tzinfo=<UTC>)

The regex (in zope.dublincore.tests.test_timeannotators), expects the
microseconds value to be present:

 datetime_re = (
     '[0-9]{4}, [0-9]{1,2}, [0-9]{1,2}, [0-9]{1,2}, [0-9]{1,2}, \
     [0-9]{1,2}, '
    '[0-9]{1,6}')


I have no idea why that value is suddenly exactly zero for the THA box.


Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1dRasACgkQ+gerLs4ltQ4R6ACfTV1r4oXAPee23hIDnA5GEaqQ
pX8AoJLVWCq35GWNDCxxqeDmyfezzg9U
=Lnxh
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list