[pywin32-checkins] pywin32/win32/Lib pywin32_testutil.py,1.3,1.4
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2011-02-26 00:32:38
|
Update of /cvsroot/pywin32/pywin32/win32/Lib In directory vz-cvs-2.sog:/tmp/cvs-serv10037 Modified Files: pywin32_testutil.py Log Message: add REGDB_E_CLASSNOTREG to errors we count as a test being 'skipped' Index: pywin32_testutil.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/Lib/pywin32_testutil.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pywin32_testutil.py 16 Feb 2009 06:27:22 -0000 1.3 --- pywin32_testutil.py 26 Feb 2011 00:32:36 -0000 1.4 *************** *** 217,221 **** # is admin) elif isinstance(exc_val, pywintypes.com_error) and \ ! exc_val.hresult==winerror.CO_E_CLASSSTRING: exc_val = TestSkipped(exc_val) # NotImplemented generally means the platform doesn't support the --- 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 |