[New-bugs-announce] [issue18383] test_warnings modifies warnings.filters when running with "-W default"
Florent Xicluna
report at bugs.python.org
Sat Jul 6 15:36:14 CEST 2013
New submission from Florent Xicluna:
Running the test suite with -Wd, we got the warning:
[247/375] test_warnings
Warning -- warnings.filters was modified by test_warnings
This is how to reproduce:
./python -Wd
import warnings
from test import support
saved = warnings.filters.copy()
c_warnings = support.import_fresh_module('warnings', fresh=['_warnings'])
saved == warnings.filters
# --> False
----------
components: Tests
messages: 192441
nosy: flox
priority: low
severity: normal
stage: needs patch
status: open
title: test_warnings modifies warnings.filters when running with "-W default"
type: behavior
versions: Python 3.3, Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18383>
_______________________________________
More information about the New-bugs-announce
mailing list