[issue28688] Warning -- warnings.filters was modified by test_warnings

STINNER Victor report at bugs.python.org
Fri Nov 18 02:44:08 EST 2016


STINNER Victor added the comment:

Ok, let me propose a plan for 3.5, 3.6 and 3.7:

* Remove warnings.filters test on Python 3.5 from regrtest
* Implement comparison for SRE_Pattern in Python 3.6 and 3.7: issue #28727

I consider that the issue #28727 is a minor enhancement and so is still good for Python 3.6.

So we avoid the ugly *warnings_key.patch*.

Reminder: this issue only occurs in the Python test suite which explicitly reloads modules. It should not occur in the wild.

----------

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


More information about the Python-bugs-list mailing list