Re: windows newslines in doctests

Chris Withers <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
Benji York wrote:
> 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.

Easy way to test:

- create a doctest file on linux
- run unix2dos on it
- try runnng the test

Or, better yet, in Manuel's tests, have a file with svn:eol-style *not* 
set and make sure it has Windows line endings... or even manually write 
such a file as part of the Manuel tests...

cheers,

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
             - http://www.simplistix.co.uk
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.