diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-04-22 14:12:47 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-07-14 13:40:14 +0200 |
commit | d2ccaa68eade325e576c40ee444e3ec18c700fe6 (patch) | |
tree | 0afdc88a42fce29708ec6ee06e6466a214820be8 | |
parent | test.support.unlink: ignore PermissionError (diff) | |
download | cpython-d2ccaa68eade325e576c40ee444e3ec18c700fe6.tar.gz cpython-d2ccaa68eade325e576c40ee444e3ec18c700fe6.tar.bz2 cpython-d2ccaa68eade325e576c40ee444e3ec18c700fe6.zip |
Blacklist test_pickletools from __all__ test as it imports numpygentoo-3.8.4
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 c077881511b..0728bef6c48 100644 --- a/Lib/test/test___all__.py +++ b/Lib/test/test___all__.py @@ -71,6 +71,8 @@ class AllTest(unittest.TestCase): blacklist = 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'): |