summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dl.py
diff options
context:
space:
mode:
authorAnthony Baxter <anthonybaxter@gmail.com>2006-04-09 15:07:40 (GMT)
committerAnthony Baxter <anthonybaxter@gmail.com>2006-04-09 15:07:40 (GMT)
commit8220174489e3f28b874b3b45516585c30e5999da (patch)
treea5b669f41c261aedf8ef1ace07418c825956c40b /Lib/test/test_dl.py
parenta50794b62016e573b9f2a9e4a2a376c7360eae56 (diff)
downloadcpython-8220174489e3f28b874b3b45516585c30e5999da.zip
cpython-8220174489e3f28b874b3b45516585c30e5999da.tar.gz
cpython-8220174489e3f28b874b3b45516585c30e5999da.tar.bz2
Python on OS X 10.3 and above now uses dlopen() (via dynload_shlib.c)
to load extension modules and now provides the dl module. As a result, sys.setdlopenflags() now works correctly on these systems. (SF patch #1454844)
Diffstat (limited to 'Lib/test/test_dl.py')
-rwxr-xr-xLib/test/test_dl.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_dl.py b/Lib/test/test_dl.py
index d1f73b2..b70a4cf 100755
--- a/Lib/test/test_dl.py
+++ b/Lib/test/test_dl.py
@@ -10,6 +10,7 @@ sharedlibs = [
('/usr/lib/libc.so', 'getpid'),
('/lib/libc.so.6', 'getpid'),
('/usr/bin/cygwin1.dll', 'getpid'),
+ ('/usr/lib/libc.dylib', 'getpid'),
]
for s, func in sharedlibs: