From: Mark H. <mha...@us...> - 2007-05-24 06:01:07
|
Update of /cvsroot/pywin32/pywin32/win32/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23340/win32/test Modified Files: test_clipboard.py Log Message: Another pass at getting things working on x64. This change incorporates most of Sidnei's work on the AMD64 branch, and updates most of the other win32 and win32com modules that haven't already had 64bit love from Roger (thanks guys!). Note this is not complete - among the outstanding issues are fixing 's#' format strings (but most of the tests *do* pass on x64, and the ones which don't fail for 'vista environment' reasons rather than x64 reasons) Index: test_clipboard.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/test/test_clipboard.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** test_clipboard.py 1 Dec 2003 10:57:53 -0000 1.4 --- test_clipboard.py 24 May 2007 06:01:06 -0000 1.5 *************** *** 80,83 **** --- 80,86 ---- self.failUnlessEqual(val + '\0', raw_data) def test_bad_mem(self): + if sys.getwindowsversion()[0] > 5: + print "skipping test_bad_mem - fails on Vista (x64 at least - not sure about x32...)" + return self.failUnlessRaises(pywintypes.error, GetGlobalMemory, 0) self.failUnlessRaises(pywintypes.error, GetGlobalMemory, 1) |