Re: zope.testing 3.8.6 emits deprecation warnings from itself?

Lennart Regebro <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
On Wed, Dec 30, 2009 at 13:45, Marius Gedminas <[email protected]> wrote:
>> Obviously they
>> should also be reported upstream,
>
> The word "should" meaning they haven't been?

As far as I can tell, yes.

> What are the bugs?  The globs thing, and allowing mixed unicode + UTF-8
> output inside doctests?

Yes. And apparently also the Windows lineendings.

> I don't remember, exactly, I was just grepping the diffs for
> DocTestFailureException.  It's probably the bit that lets bin/test -c
> colorize things like diffs, and tracebacks in doctest failures.
> If that's the case, I'd truly hate to lose this feature, it helps me
> immensely.

OK, so that colorizing support could probably also be moved into stdlib.
If someone (ie you, you seem to be on top of the problems) get diffs
into the Python tracker then maybe we could get it into Python 2.7 and
3.2, which would be cool.

> How mechanical can such a transformation be?  Is it sufficient to
> replace
>
>  zope.testing.doctest.DocFileSuite('foo.txt', **kw)
>
> with
>
>  manuel.testing.TestSuite(manuel.doctest.Manuel(), 'foo.txt', **kw)

No idea, the Manuel experts need to answer that. :)

-- 
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64
_______________________________________________
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.