From: Martin Panter Date: Sat, 5 Nov 2016 02:49:20 +0000 (+0000) Subject: Remove disabled test code X-Git-Tag: v3.7.0a1~2061 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a76f014278bd1643e93fdfa9e88f9414ce8354a6;p=thirdparty%2FPython%2Fcpython.git Remove disabled test code Loading Unix libraries via getattr() was disabled before ctypes was added to Python. --- diff --git a/Lib/ctypes/util.py b/Lib/ctypes/util.py index 339ae8aa8a98..8856f6594c45 100644 --- a/Lib/ctypes/util.py +++ b/Lib/ctypes/util.py @@ -318,10 +318,6 @@ def test(): print(find_library("c")) print(find_library("bz2")) - # getattr -## print cdll.m -## print cdll.bz2 - # load if sys.platform == "darwin": print(cdll.LoadLibrary("libm.dylib"))