summaryrefslogtreecommitdiff
path: root/Lib/ctypes
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-11-05 02:49:20 +0000
committerMartin Panter <vadmium+py@gmail.com>2016-11-05 02:49:20 +0000
commit575a0441804f4083fa5e0f7140a03fe3eac7e5db (patch)
tree4515c68d4d6b1428d1b81c14df1d19dde84b7938 /Lib/ctypes
parent3eee4fa1e5f27bd6c439cc654b14f793949b6c73 (diff)
downloadcpython-575a0441804f4083fa5e0f7140a03fe3eac7e5db.tar.gz
Remove disabled test code
Loading Unix libraries via getattr() was disabled before ctypes was added to Python.
Diffstat (limited to 'Lib/ctypes')
-rw-r--r--Lib/ctypes/util.py4
1 files changed, 0 insertions, 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"))