[Zope-dev] zope.testing: Define __add__ for RENormalizing
Adam GROSZER
agroszer at gmail.com
Thu Jun 18 07:30:58 EDT 2009
Hello Christian,
Good idea, see
svn://svn.zope.org/repos/main/zope.testing/trunk/src/zope/testing/testrunner/tests.py
A problem might be at the above case the order of replacements.
Thursday, June 18, 2009, 10:00:01 AM, you wrote:
CZ> Hi,
CZ> I suggest defining __add__ for
CZ> zope.testing.renormalizing.RENormalizing
CZ> which would return a new Checker with the transformers combined.
CZ> This allow better reuse of those checkers without having to define the
CZ> patterns separately. Like
CZ> checker = checker_a + checker_b.
CZ> Comments?
--
Best regards,
Adam GROSZER mailto:agroszer at gmail.com
--
Quote of the day:
Strong reasons make strong actions. - Shakespeare
More information about the Zope-Dev
mailing list