aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-04-22 14:12:47 +0200
committerMichał Górny <mgorny@gentoo.org>2020-07-04 21:34:38 +0200
commitd5a721e78bb1ff67fb54786ef0a7b912d8671cd0 (patch)
tree929ee49c8f09b1d147221d55d2b331697cc4863d
parenttest.support.unlink: ignore PermissionError (diff)
downloadcpython-d5a721e78bb1ff67fb54786ef0a7b912d8671cd0.tar.gz
cpython-d5a721e78bb1ff67fb54786ef0a7b912d8671cd0.tar.bz2
cpython-d5a721e78bb1ff67fb54786ef0a7b912d8671cd0.zip
Blacklist test_pickletools from __all__ test as it imports numpygentoo-3.9.0b3
The test imports numpy, bringing its warnings along with it and causing the test to fail.
-rw-r--r--Lib/test/test___all__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test___all__.py b/Lib/test/test___all__.py
index 0ba243ee4e7..37aa607309a 100644
--- a/Lib/test/test___all__.py
+++ b/Lib/test/test___all__.py
@@ -72,6 +72,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'):