Re: zope.testing: Define __add__ for RENormalizing
Christian Zagrodnick <[email protected]>
| Newsgroups | gmane.comp.web.zope.devel |
|---|---|
| Message-ID | <[email protected]> |
On 2009-06-18 10:00:01 +0200, Christian Zagrodnick <[email protected]> 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 · [email protected] 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 _______________________________________________ Zope-Dev maillist - [email protected] https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )