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>2024-06-06 03:10:42 +0200
commit3d439a041345ae43e0036fb2889196231cf19716 (patch)
treed16ca7e81fc33f30d548b4fb7c403f0af35caffb
parentPython 3.13.0b2 (diff)
downloadcpython-3d439a041345ae43e0036fb2889196231cf19716.tar.gz
cpython-3d439a041345ae43e0036fb2889196231cf19716.tar.bz2
cpython-3d439a041345ae43e0036fb2889196231cf19716.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__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test___all__.py b/Lib/test/test___all__.py
index 19dcbb207e9..a21d1852ebf 100644
--- a/Lib/test/test___all__.py
+++ b/Lib/test/test___all__.py
@@ -99,6 +99,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',
])
# In case _socket fails to build, make this test fail more gracefully