[Zope-dev] Avoid deprecation warnings in the testrunner

Fabio Tranchitella kobold at kobold.it
Sun Dec 27 04:44:57 EST 2009


* 2009-12-25 10:23, Lennart Regebro wrote:
> Yes, we did. But now we try to get the deprecation warnings to show up in
> the correct place. And we could warn for the usage of some of the names,
> but in the message explain that doctest.py is deprecated.

What do you think about the attached patch (applied to the current trunk)?
It makes the tests quite noisy (each usage of DocTestSuite and DocFileSuite
raises a warning), but I think matches with what you wrote in the quoted
paragraph above.

Thanks,
Fabio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zope.testing-symbols-deprecation.diff
Type: text/x-diff
Size: 1411 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20091227/63626731/attachment.bin 


More information about the Zope-Dev mailing list