Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

Commit

Permalink
Fix test failure due to changed __repr__
Browse files Browse the repository at this point in the history
zope.testing.renormalizing.RENormalizing is now an alias for
zope.testing.renormalizing.OutputChecker.
  • Loading branch information
mgedmin committed Apr 14, 2015
1 parent 3141e12 commit c85986b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/z3c/testsetup/functional/functionaldoctestsetup.txt
Expand Up @@ -353,9 +353,9 @@ attributes mentioned above are settable at creation time, namely:

Then, a setup with this checker can be created::

>>> mysetup = FunctionalDocTestSetup(cave, checker = mychecker)
>>> mysetup.checker
<zope.testing.renormalizing.RENormalizing instance at 0x...>
>>> mysetup = FunctionalDocTestSetup(cave, checker=mychecker)
>>> mysetup.checker is mychecker
True

Let's see, whether we got the wanted checker, by passing an
example string, which should match the first of the terms defined
Expand Down

0 comments on commit c85986b

Please sign in to comment.