diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-04-22 14:12:47 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-05-08 09:24:40 +0200 |
commit | f35b24827f873e73ad897beff6640f1007706daf (patch) | |
tree | e93b31c36879bc5fcb52c7fb39bb6b53152faa2e | |
parent | distutils: make -OO enable both opt-1 and opt-2 optimization (diff) | |
download | cpython-f35b24827f873e73ad897beff6640f1007706daf.tar.gz cpython-f35b24827f873e73ad897beff6640f1007706daf.tar.bz2 cpython-f35b24827f873e73ad897beff6640f1007706daf.zip |
Blacklist test_pickletools from __all__ test as it imports numpy
The test imports numpy, bringing its warnings along with it and causing
the test to fail.
-rw-r--r-- | Lib/test/test___all__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test___all__.py b/Lib/test/test___all__.py index 1ec83cb0b14..4675814956a 100644 --- a/Lib/test/test___all__.py +++ b/Lib/test/test___all__.py @@ -98,6 +98,8 @@ class AllTest(unittest.TestCase): denylist = set([ # Will raise a SyntaxError when compiling the exec statement '__future__', + # imports numpy which causes warnings + 'test.test_pickletools', ]) if not sys.platform.startswith('java'): |