mirror of https://github.com/python/cpython
Issue #25097: Re-raise any other pywin32 error
This commit is contained in:
parent
22226c5595
commit
106ddf07b3
|
@ -4106,6 +4106,7 @@ class NTEventLogHandlerTest(BaseTest):
|
|||
except pywintypes.error as e:
|
||||
if e.winerror == 5: # access denied
|
||||
raise unittest.SkipTest('Insufficient privileges to run test')
|
||||
raise
|
||||
|
||||
r = logging.makeLogRecord({'msg': 'Test Log Message'})
|
||||
h.handle(r)
|
||||
|
|
Loading…
Reference in New Issue