[pywin32-checkins] pywin32/com/win32com/test testmakepy.py, 1.7, 1.8
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2009-01-04 13:41:33
|
Update of /cvsroot/pywin32/pywin32/com/win32com/test In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv25388/com/win32com/test Modified Files: testmakepy.py Log Message: move to exception attributes Index: testmakepy.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32com/test/testmakepy.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** testmakepy.py 4 Dec 2008 03:38:20 -0000 1.7 --- testmakepy.py 4 Jan 2009 13:41:27 -0000 1.8 *************** *** 26,30 **** # Ignore these 2 errors, as the are very common and can obscure # useful warnings. ! if details[0] not in [winerror.TYPE_E_CANTLOADLIBRARY, winerror.TYPE_E_LIBNOTREGISTERED]: print "** COM error on", info.desc --- 26,30 ---- # Ignore these 2 errors, as the are very common and can obscure # useful warnings. ! if details.hresult not in [winerror.TYPE_E_CANTLOADLIBRARY, winerror.TYPE_E_LIBNOTREGISTERED]: print "** COM error on", info.desc |