Update of /cvsroot/ctypes/ctypes/ctypes/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8345
Modified Files:
Tag: LoadLibrary_branch
test_loading.py
Log Message:
Ready to test on multiple archs.
Index: test_loading.py
===================================================================
RCS file: /cvsroot/ctypes/ctypes/ctypes/test/test_loading.py,v
retrieving revision 1.15.2.3
retrieving revision 1.15.2.4
diff -C2 -d -r1.15.2.3 -r1.15.2.4
*** test_loading.py 13 Apr 2006 07:51:44 -0000 1.15.2.3
--- test_loading.py 13 Apr 2006 08:48:09 -0000 1.15.2.4
***************
*** 39,49 ****
self.assertRaises(OSError, cdll.LoadLibrary, self.unknowndll)
! def test_find(self):
! from ctypes._loader import _findLib
! lib = _findLib("c")
! if lib:
! print "Found", lib
! cdll.LoadLibrary(lib)
! CDLL(lib)
if os.name in ("nt", "ce"):
--- 39,51 ----
self.assertRaises(OSError, cdll.LoadLibrary, self.unknowndll)
! def test_find(self):
! print "Found", _findLib("c")
! print "Found", _findLib("m")
!
! from ctypes._loader import _findLib
! lib = _findLib("c")
! if lib:
! cdll.LoadLibrary(lib)
! CDLL(lib)
if os.name in ("nt", "ce"):
|