summaryrefslogtreecommitdiffstats
path: root/Lib/test/support/warnings_helper.py
Commit message (Collapse)AuthorAgeFilesLines
* [3.10] bpo-44852: Support ignoring specific DeprecationWarnings wholesale in ↵Łukasz Langa2021-08-171-0/+10
| | | | | | | regrtest (GH-27634) (GH-27784) (cherry picked from commit a0a6d39295a30434b088f4b66439bf5ea21a3e4e) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-41003: Fix test_copyreg when numpy is installed (GH-20935)Victor Stinner2020-06-171-0/+9
| | | | | | | | Fix test_copyreg when numpy is installed: test.pickletester now saves/restores warnings.filters when importing numpy, to ignore filters installed by numpy. Add the save_restore_warnings_filters() function to the test.support.warnings_helper module.
* bpo-40275: Add warnings_helper submodule in test.support (GH-20797)Hai Shi2020-06-111-0/+180