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

Jim Fulton jim at zope.com
Thu Jun 18 06:45:50 EDT 2009


On Jun 18, 2009, at 4:00 AM, Christian Zagrodnick wrote:

> 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.
>
> Comments?


+1

Jim

--
Jim Fulton
Zope Corporation




More information about the Zope-Dev mailing list