Re: [Zope3-dev] Re: help with doctests

2007-07-20 Thread Adam Groszer
Hello Philipp, Great, that would solve also the \r\n substitution also (I hope). Friday, July 20, 2007, 11:27:52 AM, you wrote: Marius Gedminas wrote: doctests have special rules for exceptions that are different from the rules of normal output matching. If a statement raises an

Re: [Zope3-dev] Re: help with doctests

2007-07-20 Thread Benji York
Philipp von Weitershausen wrote: Sometimes, using ellipses are fine, but generally they obfuscate the doctest when you're reading it. I suggesting using the regex-normalizer [1]. +1 -- Benji York Senior Software Engineer Zope Corporation ___

Re: [Zope3-dev] Re: help with doctests

2007-07-20 Thread Jim Fulton
On Jul 20, 2007, at 5:27 AM, Philipp von Weitershausen wrote: Marius Gedminas wrote: doctests have special rules for exceptions that are different from the rules of normal output matching. If a statement raises an exception, the output part must be of the form Traceback (most recent

Re: [Zope3-dev] Re: help with doctests

2007-07-20 Thread Marius Gedminas
On Fri, Jul 20, 2007 at 07:57:12AM -0400, Jim Fulton wrote: On Jul 20, 2007, at 5:27 AM, Philipp von Weitershausen wrote: I suggesting using the regex-normalizer [1]. There are many packages out there that use it if you're looking for examples.