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 <[email protected]>
<http://bugs.python.org/issue18383>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com