Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a76f014

Browse files
committed
Remove disabled test code
Loading Unix libraries via getattr() was disabled before ctypes was added to Python.
1 parent b0bbaa8 commit a76f014

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

Lib/ctypes/util.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,10 +318,6 @@ def test():
318318
print(find_library("c"))
319319
print(find_library("bz2"))
320320

321-
# getattr
322-
## print cdll.m
323-
## print cdll.bz2
324-
325321
# load
326322
if sys.platform == "darwin":
327323
print(cdll.LoadLibrary("libm.dylib"))

0 commit comments

Comments
 (0)