From a76f014278bd1643e93fdfa9e88f9414ce8354a6 Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Sat, 5 Nov 2016 02:49:20 +0000 Subject: [PATCH] Remove disabled test code Loading Unix libraries via getattr() was disabled before ctypes was added to Python. --- Lib/ctypes/util.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Lib/ctypes/util.py b/Lib/ctypes/util.py index 339ae8aa8a..8856f6594c 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")) -- 2.49.0