Update of /cvsroot/pywin32/pywin32/win32/Lib
In directory vz-cvs-2.sog:/tmp/cvs-serv22133/win32/Lib
Modified Files:
pywin32_testutil.py
Log Message:
add TYPE_E_LIBNOTREGISTERED to list of exceptions causing tests to reported as 'skipped'
Index: pywin32_testutil.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/Lib/pywin32_testutil.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** pywin32_testutil.py 26 Feb 2011 00:32:36 -0000 1.4
--- pywin32_testutil.py 27 Feb 2011 05:37:01 -0000 1.5
***************
*** 217,221 ****
# is admin)
elif isinstance(exc_val, pywintypes.com_error) and \
! exc_val.hresult in [winerror.CO_E_CLASSSTRING, winerror.REGDB_E_CLASSNOTREG]:
exc_val = TestSkipped(exc_val)
# NotImplemented generally means the platform doesn't support the
--- 217,223 ----
# is admin)
elif isinstance(exc_val, pywintypes.com_error) and \
! exc_val.hresult in [winerror.CO_E_CLASSSTRING,
! winerror.REGDB_E_CLASSNOTREG,
! winerror.TYPE_E_LIBNOTREGISTERED]:
exc_val = TestSkipped(exc_val)
# NotImplemented generally means the platform doesn't support the
|