[issue2407] warnings.filterwarnings() not isolated between tests

Jerry Seutter report at bugs.python.org
Tue Mar 18 21:56:44 CET 2008


New submission from Jerry Seutter <jseutter at gmail.com>:

Some tests were not cleaning up warning filters.  Fixed the problem by
making regrtest.py restore default filters before each module is executed.

This exposed other errors which are also fixed in the patch.

The patch only affects test files.

----------
components: Tests
files: warnings_fix.patch
keywords: patch, patch
messages: 63984
nosy: jseutter
priority: low
severity: normal
status: open
title: warnings.filterwarnings() not isolated between tests
versions: Python 2.6
Added file: http://bugs.python.org/file9739/warnings_fix.patch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2407>
__________________________________


More information about the Python-bugs-list mailing list