commit | 8362893e3fe083df2ec8bb94c28b1a78383eadbf | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Wed Jun 17 18:07:13 2020 +0200 |
committer | GitHub <noreply@github.com> | Wed Jun 17 18:07:13 2020 +0200 |
tree | c485a614b45419ebbd2b648de6e8e2efa2279515 | |
parent | 8e34e92caa73259620dd242b92d26edd0949b4ba [diff] |
bpo-41003: Fix test_copyreg when numpy is installed (GH-20935) 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.