summaryrefslogtreecommitdiffstats
path: root/Lib/ctypes/test
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2006-04-05 19:01:35 (GMT)
committerThomas Heller <theller@ctypes.org>2006-04-05 19:01:35 (GMT)
commitfb8f83b33f23350c52aaec4d652d6becfda11d07 (patch)
tree42ada21aa5a7cbb6b9330a69a55f2e725297dda8 /Lib/ctypes/test
parent3b1c01d4b696e2e4c94b6abccd603c617f9b095a (diff)
downloadcpython-fb8f83b33f23350c52aaec4d652d6becfda11d07.zip
cpython-fb8f83b33f23350c52aaec4d652d6becfda11d07.tar.gz
cpython-fb8f83b33f23350c52aaec4d652d6becfda11d07.tar.bz2
One test still fails on the ia64 debian box.
Diffstat (limited to 'Lib/ctypes/test')
-rw-r--r--Lib/ctypes/test/test_loading.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ctypes/test/test_loading.py b/Lib/ctypes/test/test_loading.py
index dec296b..4558417 100644
--- a/Lib/ctypes/test/test_loading.py
+++ b/Lib/ctypes/test/test_loading.py
@@ -31,7 +31,7 @@ class LoaderTest(unittest.TestCase):
cdll.load(os.path.basename(libc_name))
self.assertRaises(OSError, cdll.load, self.unknowndll)
- if libc_name is not None and "libc.so.6" in libc_name:
+ if libc_name is not None and os.path.basename(libc_name) == "libc.so.6":
def test_load_version(self):
cdll.load_version("c", "6")
# linux uses version, libc 9 should not exist