diff options
author | Victor Stinner <vstinner@python.org> | 2020-06-17 18:40:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-17 18:40:14 +0200 |
commit | b39d41ba1b77f7bc51c4d6f6d0e336693192cb3a (patch) | |
tree | 4109bdfd2e2b87c4e64d00f0b39df3ff98570f3c /Python/fileutils.c | |
parent | 2c6d6c12c2d1a8f0c131d70ccf087555c52d4587 (diff) | |
download | cpython-git-b39d41ba1b77f7bc51c4d6f6d0e336693192cb3a.tar.gz |
bpo-41003: Fix test_copyreg when numpy is installed (GH-20935) (GH-20945)
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 8362893e3fe083df2ec8bb94c28b1a78383eadbf)
Diffstat (limited to 'Python/fileutils.c')
0 files changed, 0 insertions, 0 deletions