Hello Marius,
Great, that works ;-)
Thought that there is some more genreic-sane way.
Friday, July 20, 2007, 10:25:02 AM, you wrote:
> On Fri, Jul 20, 2007 at 10:09:18AM +0200, Adam Groszer wrote:
>> Hello,
>>
>> How to solve the \r\n and \n mismatch between win32 and *nix in the
>> doctests?
>
On Fri, Jul 20, 2007 at 10:09:18AM +0200, Adam Groszer wrote:
> Hello,
>
> How to solve the \r\n and \n mismatch between win32 and *nix in the
> doctests?
>
> doctest is:
> """
> >>> ctrl.value
> 'Text inside\narea!\n '
> """
>
> fails with (on win32):
> """
> Failed
Hello Stefan,
It seems to be already enabled:
flags = doctest.NORMALIZE_WHITESPACE | doctest.ELLIPSIS
readme = FunctionalDocFileSuite('README.txt', optionflags=flags,
checker=checker)
Friday, July 20, 2007, 10:18:30 AM, you wrote:
> Doesn't NORMALIZE_WHITESPACE help here?
> Ste
Doesn't NORMALIZE_WHITESPACE help here?
Stefan
On 20. Jul 2007, at 10:09, Adam Groszer wrote:
How to solve the \r\n and \n mismatch between win32 and *nix in the
doctests?
--
Anything that happens, happens. --Douglas Adams
___
Zope3-dev mailing
Hello,
How to solve the \r\n and \n mismatch between win32 and *nix in the
doctests?
doctest is:
"""
>>> ctrl.value
'Text inside\narea!\n '
"""
fails with (on win32):
"""
Failed example:
ctrl.value
Expected:
'Text inside\narea!\n '
Got: