[Zope-dev] zope.testing: Define __add__ for RENormalizing

Christian Zagrodnick cz at gocept.com
Sun Dec 6 06:28:51 EST 2009


On 2009-06-18 10:00:01 +0200, Christian Zagrodnick <cz at gocept.com> said:

> Hi,
> 
> I suggest defining __add__ for zope.testing.renormalizing.RENormalizing
> 
> which would return a new Checker with the transformers combined.
> 
> This allow better reuse of those checkers without having to define the
> 
> patterns separately. Like
> 
> checker = checker_a + checker_b.

Finally got that in: r106221.


-- 
Christian Zagrodnick · cz at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 4 · fax +49 345 1229889 1
Zope and Plone consulting and development




More information about the Zope-Dev mailing list