From: Thomas Heller Date: Wed, 5 Apr 2006 19:01:35 +0000 (+0000) Subject: One test still fails on the ia64 debian box. X-Git-Tag: v2.5a2~425 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb8f83b33f23350c52aaec4d652d6becfda11d07;p=thirdparty%2FPython%2Fcpython.git One test still fails on the ia64 debian box. --- diff --git a/Lib/ctypes/test/test_loading.py b/Lib/ctypes/test/test_loading.py index dec296bd8768..455841751867 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