diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-11-05 02:49:20 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-11-05 02:49:20 (GMT) |
commit | a76f014278bd1643e93fdfa9e88f9414ce8354a6 (patch) | |
tree | f8be452ea388b84f8e1d8b42b3e225bcdddff5a4 | |
parent | b0bbaa854e6fc0485015871873da77ae97379244 (diff) | |
download | cpython-a76f014278bd1643e93fdfa9e88f9414ce8354a6.zip cpython-a76f014278bd1643e93fdfa9e88f9414ce8354a6.tar.gz cpython-a76f014278bd1643e93fdfa9e88f9414ce8354a6.tar.bz2 |
Remove disabled test code
Loading Unix libraries via getattr() was disabled before ctypes was added to
Python.
-rw-r--r-- | Lib/ctypes/util.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/ctypes/util.py b/Lib/ctypes/util.py index 339ae8a..8856f65 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")) |