]> granicus.if.org Git - python/commitdiff
One test still fails on the ia64 debian box.
authorThomas Heller <theller@ctypes.org>
Wed, 5 Apr 2006 19:01:35 +0000 (19:01 +0000)
committerThomas Heller <theller@ctypes.org>
Wed, 5 Apr 2006 19:01:35 +0000 (19:01 +0000)
Lib/ctypes/test/test_loading.py

index dec296bd8768cfe43af01a76b12e4b4b1067946f..4558417518673c122a36a0fdeaf3ce386a044bde 100644 (file)
@@ -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