mirror of
https://github.com/python/cpython.git
synced 2026-05-27 06:42:27 -04:00
b39d41ba1b
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.
(cherry picked from commit 8362893e3f)