[Python-checkins] r43670 - python/trunk/Lib/ctypes/test/test_loading.py

thomas.heller python-checkins at python.org
Wed Apr 5 21:01:37 CEST 2006


Author: thomas.heller
Date: Wed Apr  5 21:01:35 2006
New Revision: 43670

Modified:
   python/trunk/Lib/ctypes/test/test_loading.py
Log:
One test still fails on the ia64 debian box.

Modified: python/trunk/Lib/ctypes/test/test_loading.py
==============================================================================
--- python/trunk/Lib/ctypes/test/test_loading.py	(original)
+++ python/trunk/Lib/ctypes/test/test_loading.py	Wed Apr  5 21:01:35 2006
@@ -31,7 +31,7 @@
             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


More information about the Python-checkins mailing list