Re[2]: [Zope3-dev] doctest prb again

2007-07-20 Thread Adam Groszer
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? >

Re: [Zope3-dev] doctest prb again

2007-07-20 Thread Marius Gedminas
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

Re[2]: [Zope3-dev] doctest prb again

2007-07-20 Thread Adam Groszer
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

Re: [Zope3-dev] doctest prb again

2007-07-20 Thread Stefan H. Holek
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

[Zope3-dev] doctest prb again

2007-07-20 Thread Adam Groszer
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: