[Zope-dev] buildbot failure in Zope on z3c.schemadiff

Marius Gedminas mgedmin at b4net.lt
Wed Jun 11 15:23:04 EDT 2008


On Wed, Jun 11, 2008 at 07:00:14PM +0200, ct at gocept.com wrote:
> The Buildbot has detected a new failure of z3c.schemadiff on Zope.
> Full details are available at:
>  http://zopebuildbot.whq.gocept.com/z3c.schemadiff/builds/36
> 
> Buildbot URL: http://zopebuildbot.whq.gocept.com/

By the way, can we see the configuration of this beast?  Is it running
pristine buildbot, or does it have extra patches/wrappers for the
cruise-control display etc?

> Failure in test /home/ctheune/zope.org/slave/z3c.schemadiff/build/src/z3c/schemadiff/README.txt
> Failed doctest test for README.txt
>   File "/home/ctheune/zope.org/slave/z3c.schemadiff/build/src/z3c/schemadiff/README.txt", line 0
> 
> ----------------------------------------------------------------------
> File "/home/ctheune/zope.org/slave/z3c.schemadiff/build/src/z3c/schemadiff/README.txt", line 53, in README.txt
> Failed example:
>     schema.diff(margherita, capricciosa)
> Expected:
>     {<zope.schema._field.Set object at ...>:
>           ((u'Tomato', u'Mozzarella', u'Basil'),
>            (u'Tomato', u'Mozarella', u'Mushrooms', u'Artichokes', u'Prosciutto')),
>      <zope.schema._bootstrapfields.TextLine object at ...>:
>           ((u'Margherita',),
>            (u'Capricciosa',))}
> Got:
>     {<zope.schema._bootstrapfields.TextLine object at 0xb7958cec>: ((u'Margherita',), (u'Capricciosa',)), <zope.schema._field.Set object at 0xb78a962c>: ((u'Tomato', u'Mozzarella', u'Basil'), (u'Tomato', u'Mozarella', u'Mushrooms', u'Artichokes', u'Prosciutto'))}

Nasty test relies on dictionary order.  A pprint should fix this.

Marius Gedminas
-- 
Mosher's Law of Software Engineering:
        Don't worry if it doesn't work right.
        If everything did, you'd be out of a job.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20080611/505f9a9b/attachment.bin


More information about the Zope-Dev mailing list