[issue3781] warnings.catch_warnings fails gracelessly when recording warnings but no warnings are emitted

Benjamin Peterson report at bugs.python.org
Thu Sep 11 23:05:18 CEST 2008


Benjamin Peterson <musiccomposition at gmail.com> added the comment:

On Thu, Sep 11, 2008 at 9:03 AM, Nick Coghlan <report at bugs.python.org> wrote:
>
> Nick Coghlan <ncoghlan at gmail.com> added the comment:
>
> Blocked merge in the py3k branch since it requires some fiddling to
> handle the change from test.test_support to test.support. I'll post a
> new patch here for the py3k forward port when I can (I may not make it
> before 3.0b4 though, so unassigning for the moment).

The best way to do that is:

(trunk) $ svn diff -c mergerevision Lib/test/test_support.py > diff.patch
(py3k) $ patch Lib/test/support.py < diff.patch

>
> ----------
> assignee: ncoghlan ->
> versions:  -Python 2.6
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue3781>
> _______________________________________
>

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3781>
_______________________________________


More information about the Python-bugs-list mailing list