From 4d7199ad13a275c2aa767031f6dd182101872705 Mon Sep 17 00:00:00 2001 From: Fedora Python maintainers Date: Wed, 15 Jul 2020 15:23:19 +0200 Subject: 00133-skip-test_dl.patch 00133 # "dl" is deprecated, and test_dl doesn't work on 64-bit builds: --- Lib/test/test_dl.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/test/test_dl.py b/Lib/test/test_dl.py index da9730f..45d4547 100644 --- a/Lib/test/test_dl.py +++ b/Lib/test/test_dl.py @@ -12,6 +12,9 @@ sharedlibs = [ ('/usr/lib/libc.dylib', 'getpid'), ] +# (also, "dl" is deprecated in favor of ctypes) +@unittest._skipInRpmBuild('fails on 64-bit builds: ' + 'module dl requires sizeof(int) == sizeof(long) == sizeof(char*)') def test_main(): for s, func in sharedlibs: try: -- cgit v0.12