]> granicus.if.org Git - python/commit
Issue #28688: Remove warnings.filters check from regrtest
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 21 Nov 2016 15:44:01 +0000 (16:44 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 21 Nov 2016 15:44:01 +0000 (16:44 +0100)
commit6c7fb55d4491327d07f7a33ce25498ac2e871818
treef7ac2e9bb47480d76c9914cb6cf8bd0a3d65e6cc
parent6a4d7629da5fb67458089265c8971c1eec64e07a
Issue #28688: Remove warnings.filters check from regrtest

Reloading the warnings module duplicates filters in warnings.filters. Fixing
the issue is tricky. It was decided to simply remove the check from Python 3.5,
since the bug only impacts Python unit tests, not real applications.

The check is kept in Python 3.6 and newer.
Lib/test/regrtest.py