[ctypes-commit] ctypes/ctypes/test test_loading.py,1.12,1.13
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2006-04-05 17:14:02
|
Update of /cvsroot/ctypes/ctypes/ctypes/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27344 Modified Files: test_loading.py Log Message: Debugging, and a small fix. Index: test_loading.py =================================================================== RCS file: /cvsroot/ctypes/ctypes/ctypes/test/test_loading.py,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** test_loading.py 5 Apr 2006 17:08:44 -0000 1.12 --- test_loading.py 5 Apr 2006 17:13:52 -0000 1.13 *************** *** 16,20 **** if "libc.so" in line: libc_name = line.split()[2] ! print "libc_name is", libc_name break --- 16,20 ---- if "libc.so" in line: libc_name = line.split()[2] ! print "libc_name is", line break *************** *** 33,40 **** cdll.load_version("c", "6") # linux uses version, libc 9 should not exist ! self.assertRaises(OSError, cdll.load_version, name, "9") self.assertRaises(OSError, cdll.load_version, self.unknowndll, "") - ## if os.name == "posix" and sys.platform != "sunos5": def test_find(self): name = "c" --- 33,39 ---- cdll.load_version("c", "6") # linux uses version, libc 9 should not exist ! self.assertRaises(OSError, cdll.load_version, "c", "9") self.assertRaises(OSError, cdll.load_version, self.unknowndll, "") def test_find(self): name = "c" |