Benji York wrote:
Manuel 1.0.3 -- available on PyPI -- opens files in universal newline
mode. I hope that fixes your newline problem
Seems to have for now, I've removed my use of from
zc.buildout.testing.normalize_endings and all tests still pass.
I'll let you know if I hit any other issues
Manuel 1.0.3 -- available on PyPI -- opens files in universal newline
mode. I hope that fixes your newline problem
--
Benji York
___
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML
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
Benji York wrote:
On Tue, Dec 29, 2009 at 2:15 PM, Chris Withers ch...@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
On Tue, Dec 29, 2009 at 2:15 PM, Chris Withers ch...@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,
Fred Drake wrote:
It's interesting to note that Python 2.6's doctest doesn't use
universal newlines, but zope.testing.doctest.
Good think we haven't just deprecated zope.testing.doctest and defecated
on zope.testing in the process...
...oh wait.
Interestingly, the doctests I referred to
Benji York wrote:
On Mon, Dec 14, 2009 at 9:02 AM, Chris Withers ch...@simplistix.co.uk wrote:
I've run into problems with Windows newlines in doctests a couple of
times now and so thought I'd ask what people do in general to work
around this...
I don't think line ending problems happen
On Mon, Dec 28, 2009 at 4:57 PM, Chris Withers ch...@simplistix.co.uk wrote:
I think if your development environment involves Windows checkouts, they
happen more often that you'd like, especially when a single Windows
developer doesn't have svn:eol-style set for all types that end up being
On Mon, Dec 14, 2009 at 9:02 AM, Chris Withers ch...@simplistix.co.uk wrote:
I've run into problems with Windows newlines in doctests a couple of
times now and so thought I'd ask what people do in general to work
around this...
I don't think line ending problems happen very often. I'd be