31 Dec
2009
31 Dec
'09
6:09 p.m.
On Tue, Dec 29, 2009 at 2:15 PM, Chris Withers <chris@simplistix.co.uk> wrote:
Fred Drake wrote:
It's interesting to note that Python 2.6's doctest doesn't use universal newlines, but zope.testing.doctest.
Interestingly, the doctests I referred to in my original post were Manuel doctests, which (Benji, lemme know if I'm wrong...) use Python's doctest module rather than zope.testing's one, in which case I think you may have hit the nail precisely on the head...
Manuel uses Python's doctest module for the actual work, but the file reading is done by Manuel itself. I could switch to using universal new line mode, but since I haven't seen an example of a filing test I can't be sure if it'll help or not. -- Benji York