[issue3602] Move test.test_suport.catch_warning() to the 'warnings' module
Brett Cannon
report at bugs.python.org
Thu Aug 21 00:49:22 CEST 2008
Brett Cannon <brett at python.org> added the comment:
On Wed, Aug 20, 2008 at 3:05 PM, Benjamin Peterson
<report at bugs.python.org> wrote:
>
> Benjamin Peterson <musiccomposition at gmail.com> added the comment:
> Alternatively, you could just have another copy of catch_warning in
> test_warnings with the extra argument.
Sure, but I am not about to support that much code duplication in
Python code when it is purely just to shave off an argument that can
be clearly documented.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3602>
_______________________________________
More information about the Python-bugs-list
mailing list