[ctypes-commit] ctypes/ctypes/test test_loading.py,1.14,1.15
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2006-04-05 19:17:19
|
Update of /cvsroot/ctypes/ctypes/ctypes/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21071 Modified Files: test_loading.py Log Message: Another fix. Index: test_loading.py =================================================================== RCS file: /cvsroot/ctypes/ctypes/ctypes/test/test_loading.py,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** test_loading.py 5 Apr 2006 17:33:52 -0000 1.14 --- test_loading.py 5 Apr 2006 19:17:10 -0000 1.15 *************** *** 32,36 **** self.assertRaises(OSError, cdll.load, self.unknowndll) ! if libc_name is not None and "libc.so.6" in libc_name: def test_load_version(self): cdll.load_version("c", "6") --- 32,36 ---- self.assertRaises(OSError, cdll.load, self.unknowndll) ! 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") |